From: Adrian Alonso Date: Mon, 12 Oct 2015 18:48:10 +0000 (-0500) Subject: imx: hab: rework unified rom section for mx7 X-Git-Tag: v2016.01-rc1~2^2~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6d846c726b300fcb4e5b9228709e6752459e7553;p=u-boot imx: hab: rework unified rom section for mx7 Rework unified section macro select via Kconfig option instead of macro definition in mx7_common header file. Signed-off-by: Adrian Alonso --- diff --git a/arch/arm/cpu/armv7/mx7/Kconfig b/arch/arm/cpu/armv7/mx7/Kconfig index ea19e5c411..97d62389fd 100644 --- a/arch/arm/cpu/armv7/mx7/Kconfig +++ b/arch/arm/cpu/armv7/mx7/Kconfig @@ -2,9 +2,11 @@ if ARCH_MX7 config MX7 bool + select ROM_UNIFIED_SECTIONS default y config MX7D + select ROM_UNIFIED_SECTIONS bool choice diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 04468b94ee..fc6aa9da2c 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -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