[U-Boot] [PATCH 1/2] tbs2910: add thermal support

Soeren Moch smoch at web.de
Fri May 29 20:32:41 CEST 2015


Signed-off-by: Soeren Moch <smoch at web.de>
---
Cc: Stefano Babic <sbabic at denx.de>
---
 configs/tbs2910_defconfig | 2 ++
 include/configs/tbs2910.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index cace345..51319d1 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -1,3 +1,5 @@
 CONFIG_ARM=y
 CONFIG_TARGET_TBS2910=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q2g.cfg,MX6Q"
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 13a6e06..2d0de45 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -21,6 +21,8 @@
 #define CONFIG_SYS_PROMPT		"Matrix U-Boot> "
 #define CONFIG_SYS_HZ			1000
 
+#define CONFIG_IMX6_THERMAL
+
 /* Physical Memory Map */
 #define CONFIG_NR_DRAM_BANKS		1
 #define CONFIG_SYS_SDRAM_BASE		MMDC0_ARB_BASE_ADDR
-- 
1.9.1



More information about the U-Boot mailing list