]> git.sur5r.net Git - u-boot/commitdiff
imx: mx7d: move MX7D to Kconfig entry
authorPeng Fan <van.freenix@gmail.com>
Thu, 3 Mar 2016 07:56:02 +0000 (15:56 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 26 Mar 2016 13:16:12 +0000 (14:16 +0100)
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>
arch/arm/cpu/armv7/mx7/Kconfig
configs/mx7dsabresd_defconfig

index 8e1ddcdaf158bb4b914cce46be3dba98285c093c..ecfa4a2c3565d77b7a55845540e199c12abed48b 100644 (file)
@@ -15,6 +15,7 @@ choice
 
 config TARGET_MX7DSABRESD
        bool "mx7dsabresd"
+       select MX7D
        select DM
        select DM_THERMAL
 
index 40b0e7e7e99f549e6821fe4752dd2b0f726ce3ca..f43f2c12d38769b07e5ae29c4d1245b6ea5341db 100644 (file)
@@ -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