diff options
author | Lucas Stach <dev@lynxeye.de> | 2013-05-10 20:29:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-23 09:29:36 +0200 |
commit | 431d8a247dfa63f817cda137a81dbb2244d413dc (patch) | |
tree | 7d15bdeb7c528da2b3005a1ff70eb1a75718d500 | |
parent | e1a843d668b7f5670ee8a83b72e5d347fa8ce209 (diff) | |
download | barebox-431d8a247dfa63f817cda137a81dbb2244d413dc.tar.gz barebox-431d8a247dfa63f817cda137a81dbb2244d413dc.tar.xz |
arm: properly init alignment trap bit
On ARMv7 the intention is to disable the alignment trap to be able to
use hardware assisted unaligned load/stores. Fix the init to do the
right thing.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/include/asm/barebox-arm-head.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/barebox-arm-head.h b/arch/arm/include/asm/barebox-arm-head.h index 9385415233..9a8cc87716 100644 --- a/arch/arm/include/asm/barebox-arm-head.h +++ b/arch/arm/include/asm/barebox-arm-head.h @@ -22,7 +22,7 @@ static inline void arm_cpu_lowlevel_init(void) #if __LINUX_ARM_ARCH__ >= 6 r |= CR_U; - r &= CR_A; + r &= ~CR_A; #else r |= CR_A; #endif |