summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@freescale.com>2015-10-12 13:48:10 -0500
committerStefano Babic <sbabic@denx.de>2015-10-30 15:22:36 +0100
commit6d846c726b300fcb4e5b9228709e6752459e7553 (patch)
treef7b7e159eb05b08da16584fa46aea5f55c40c7f3
parenta89729c9ca5d58f389e7b8bde74e58f6b35d9a45 (diff)
downloadblackbird-obmc-uboot-6d846c726b300fcb4e5b9228709e6752459e7553.tar.gz
blackbird-obmc-uboot-6d846c726b300fcb4e5b9228709e6752459e7553.zip
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 <aalonso@freescale.com>
-rw-r--r--arch/arm/cpu/armv7/mx7/Kconfig2
-rw-r--r--include/configs/mx7_common.h1
2 files changed, 2 insertions, 1 deletions
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
OpenPOWER on IntegriCloud