From: Simon Glass Date: Fri, 6 Feb 2015 04:41:47 +0000 (-0700) Subject: dm: mx6: Move driver model CONFIGs to Kconfig X-Git-Tag: KARO-TX6-2015-09-18~3783 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b11dc56ca9f2b915ad74e9d949972c0091b2beb2;p=karo-tx-uboot.git dm: mx6: Move driver model CONFIGs to Kconfig Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass --- diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig index 3c0d64fecb..d2ebf692f3 100644 --- a/configs/cm_fx6_defconfig +++ b/configs/cm_fx6_defconfig @@ -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 diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index 17ac9c8ce9..0eeac985a7 100644 --- a/include/configs/cm_fx6.h +++ b/include/configs/cm_fx6.h @@ -20,13 +20,9 @@ #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