]> code.ossystems Code Review - bsp/u-boot.git/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 3 Nov 2015 12:55:02 +0000 (10:55 -0200)
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 ea2be496e05c7d1da924aaecd5c5ca3cfd85bdd9..bf43d09c2a98d0608b94c81aa9ef12ebc2bbecfd 100644 (file)
@@ -32,7 +32,6 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_LATE_INIT
 
-#define CONFIG_ROM_UNIFIED_SECTIONS
 #define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO