summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-03-03 15:56:02 +0800
committerStefano Babic <sbabic@denx.de>2016-03-26 14:16:12 +0100
commit7abeec2234a81ba7880be6f0a6952dec3411bbe7 (patch)
tree323835f27aeb3dc607e8738ee7858ca70893780d
parent9131c18cfa23c1eae8d77b6fcfa2f5e16698d949 (diff)
downloadu-boot-imx-7abeec2234a81ba7880be6f0a6952dec3411bbe7.zip
u-boot-imx-7abeec2234a81ba7880be6f0a6952dec3411bbe7.tar.gz
u-boot-imx-7abeec2234a81ba7880be6f0a6952dec3411bbe7.tar.bz2
imx: mx7d: move MX7D to Kconfig entry
If including MX7D in CONFIG_SYS_EXTRA_OPTIONS, CONFIG_ROM_UNIFIED_SECTIONS will not effect.So move MX7D to Kconfig entry from CONFIG_SYS_EXTRA_OPTIONS to "select MX7D" to boards using i.MX7 Dual. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
-rw-r--r--arch/arm/cpu/armv7/mx7/Kconfig1
-rw-r--r--configs/mx7dsabresd_defconfig2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx7/Kconfig b/arch/arm/cpu/armv7/mx7/Kconfig
index 8e1ddcd..ecfa4a2 100644
--- a/arch/arm/cpu/armv7/mx7/Kconfig
+++ b/arch/arm/cpu/armv7/mx7/Kconfig
@@ -15,6 +15,7 @@ choice
config TARGET_MX7DSABRESD
bool "mx7dsabresd"
+ select MX7D
select DM
select DM_THERMAL
diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsabresd_defconfig
index 40b0e7e..f43f2c1 100644
--- a/configs/mx7dsabresd_defconfig
+++ b/configs/mx7dsabresd_defconfig
@@ -3,7 +3,7 @@ CONFIG_ARCH_MX7=y
CONFIG_TARGET_MX7DSABRESD=y
CONFIG_IMX_RDC=y
CONFIG_IMX_BOOTAUX=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg,MX7D"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
# CONFIG_CMD_BOOTD is not set
# CONFIG_CMD_IMI is not set
# CONFIG_CMD_IMLS is not set