]> git.sur5r.net Git - u-boot/commitdiff
imx: hab: rework unified rom section for mx7
authorAdrian Alonso <aalonso@freescale.com>
Mon, 12 Oct 2015 18:48:10 +0000 (13:48 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 30 Oct 2015 14:22:36 +0000 (15:22 +0100)
Rework unified section macro select via Kconfig option
instead of macro definition in mx7_common header file.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
arch/arm/cpu/armv7/mx7/Kconfig
include/configs/mx7_common.h

index ea19e5c411fe60c4307c4ab3b2a0aee8905b8595..97d62389fdcf58eb9a59eb55d2f81f455bc415a2 100644 (file)
@@ -2,9 +2,11 @@ if ARCH_MX7
 
 config MX7
        bool
+       select ROM_UNIFIED_SECTIONS
        default y
 
 config MX7D
+       select ROM_UNIFIED_SECTIONS
        bool
 
 choice
index 04468b94eefdc1e2b56435d243362e9de9d62a24..fc6aa9da2c3a261f546474492cd9201614960c38 100644 (file)
@@ -32,7 +32,6 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_LATE_INIT
 
-#define CONFIG_ROM_UNIFIED_SECTIONS
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO