diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-04-14 17:21:21 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-23 11:33:04 +0200 |
commit | 07290094587d9e1142d530dc164ef2bdb6c47470 (patch) | |
tree | 0fb0d1ee63cf35a379340c9b06cc6efcf0d769a5 /drivers | |
parent | 598144bc8ef80576e3d54d4cb8d4207b22f64b46 (diff) | |
download | barebox-07290094587d9e1142d530dc164ef2bdb6c47470.tar.gz barebox-07290094587d9e1142d530dc164ef2bdb6c47470.tar.xz |
ARM: zii-imx8mq-dev: Drop unnecessary barrier() in switch statement
AArch64 uses PC-relative addressing instead of absolute one for data
lookups, so compiling switch statement into a LUT shouldn't be a
problem regardless if relocation happened or not. Disassembly of PBL
code looks almost exactly the same with or without this workaround, so
it is clearly not needed. Drop it.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions