]> git.sur5r.net Git - u-boot/commitdiff
dm: mx6: Move driver model CONFIGs to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 04:41:47 +0000 (21:41 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 17:35:35 +0000 (10:35 -0700)
Remove driver model CONFIGs from the board config headers and use Kconfig
instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/cm_fx6_defconfig
include/configs/cm_fx6.h

index 3c0d64fecbc6dcbfcdb21afe4330afd86f490b66..d2ebf692f36af67a4347a715fe13fd703e3ae91f 100644 (file)
@@ -2,3 +2,6 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_CM_FX6=y
+CONFIG_DM=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_SERIAL=y
index 1f6449505511c1f6001a8d5bbe846e8d827145cc..40083069441a6a4ab539bba5873393df2f2e435c 100644 (file)
 #define CONFIG_MACH_TYPE               4273
 
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_DM
-#define CONFIG_CMD_DM
 
-#define CONFIG_DM_GPIO
 #define CONFIG_CMD_GPIO
 
-#define CONFIG_DM_SERIAL
 #define CONFIG_SYS_MALLOC_F_LEN                (1 << 10)
 #endif