[PATCH 2/2] OMAP: disable unaligned access when building the IFT

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Tue Dec 4 07:02:49 EST 2012


MLO is located in SRAM and OMAP4 does not allow unaligned access in
this area:

| :/ md -w 0x40300000+2
| 40300000: 9001                                               ..
| :/ md -w 0x40300001+2
| unable to handle paging request at address 0x40300001

Patch sets the ARM_NOUNALIGNED option introduced by a previous patch.

Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
 arch/arm/mach-omap/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index 81f6127..445a35a 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -68,6 +68,7 @@ config OMAP_GPMC
 
 config OMAP_BUILD_IFT
 	prompt "build ift binary"
+	select ARM_NOUNALIGNED
 	bool
 
 config OMAP_BUILD_SPI
-- 
1.7.11.7




More information about the barebox mailing list