[U-Boot] [PATCH 6/6] udoo_neo: Add thermal support

Breno Lima breno.lima at nxp.com
Thu Dec 1 19:37:41 CET 2016


Add thermal support on the Kconfig file.

Signed-off-by: Breno Lima <breno.lima at nxp.com>
---
 arch/arm/cpu/armv7/mx6/Kconfig | 2 ++
 include/configs/udoo_neo.h     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 091b522..aa4a476 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -204,6 +204,8 @@ config TARGET_UDOO_NEO
 	bool "UDOO Neo"
 	select SUPPORT_SPL
 	select MX6SX
+	select DM
+	select DM_THERMAL
 
 config TARGET_WANDBOARD
 	bool "wandboard"
diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 1b7a03f..0357631 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -88,4 +88,6 @@
 #define CONFIG_ENV_SIZE			SZ_8K
 #define CONFIG_ENV_IS_IN_MMC
 
+#define CONFIG_IMX_THERMAL
+
 #endif				/* __CONFIG_H */
-- 
2.7.4



More information about the U-Boot mailing list