dm: mx6: Adjust mx6sxsabresd to use Kconfig for DM_THERMAL
authorSimon Glass <sjg@chromium.org>
Fri, 13 Feb 2015 19:20:49 +0000 (12:20 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 19 Feb 2015 13:19:18 +0000 (06:19 -0700)
Use Kconfig instead of board config for DM and DM_THERMAL.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/mx6sxsabresd_defconfig
configs/mx6sxsabresd_spl_defconfig
include/configs/mx6sxsabresd.h

index 72e0f10..cc82322 100644 (file)
@@ -3,3 +3,5 @@ CONFIG_ARM=y
 CONFIG_TARGET_MX6SXSABRESD=y
 CONFIG_SYS_MALLOC_F=y
 CONFIG_SYS_MALLOC_F_LEN=0x400
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
index 6b36e06..901b01b 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6SX"
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_MX6SXSABRESD=y
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
index 1005b9e..a290129 100644 (file)
 #define CONFIG_PCIE_IMX_POWER_GPIO     IMX_GPIO_NR(2, 1)
 #endif
 
-#define CONFIG_DM
-#define CONFIG_DM_THERMAL
 #define CONFIG_IMX6_THERMAL
 
 #define CONFIG_CMD_FUSE