diff mbox

[U-Boot,3/3] dm: mx6: Adjust mx6sxsabresd to use Kconfig for DM_THERMAL

Message ID 1423855249-14590-3-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Feb. 13, 2015, 7:20 p.m. UTC
Use Kconfig instead of board config for DM and DM_THERMAL.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 configs/mx6sxsabresd_defconfig     | 2 ++
 configs/mx6sxsabresd_spl_defconfig | 2 ++
 include/configs/mx6sxsabresd.h     | 2 --
 3 files changed, 4 insertions(+), 2 deletions(-)

Comments

Simon Glass Feb. 18, 2015, 5:01 a.m. UTC | #1
On 13 February 2015 at 12:20, Simon Glass <sjg@chromium.org> wrote:
> Use Kconfig instead of board config for DM and DM_THERMAL.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  configs/mx6sxsabresd_defconfig     | 2 ++
>  configs/mx6sxsabresd_spl_defconfig | 2 ++
>  include/configs/mx6sxsabresd.h     | 2 --
>  3 files changed, 4 insertions(+), 2 deletions(-)

Applied to u-boot-dm.
diff mbox

Patch

diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig
index 72e0f10..cc82322 100644
--- a/configs/mx6sxsabresd_defconfig
+++ b/configs/mx6sxsabresd_defconfig
@@ -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
diff --git a/configs/mx6sxsabresd_spl_defconfig b/configs/mx6sxsabresd_spl_defconfig
index 6b36e06..901b01b 100644
--- a/configs/mx6sxsabresd_spl_defconfig
+++ b/configs/mx6sxsabresd_spl_defconfig
@@ -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
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 1005b9e..a290129 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -227,8 +227,6 @@ 
 #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