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 ea19e5c..97d6238 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 04468b9..fc6aa9d 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