udoo_neo: Add thermal support
authorBreno Lima <breno.lima@nxp.com>
Thu, 1 Dec 2016 18:37:41 +0000 (16:37 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 09:21:25 +0000 (10:21 +0100)
Add thermal support on the Kconfig file.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/cpu/armv7/mx6/Kconfig
include/configs/udoo_neo.h

index cca8a87..c682484 100644 (file)
@@ -218,6 +218,8 @@ config TARGET_UDOO_NEO
        bool "UDOO Neo"
        select SUPPORT_SPL
        select MX6SX
+       select DM
+       select DM_THERMAL
 
 config TARGET_SAMTEC_VINING_2000
        bool "samtec VIN|ING 2000"
index 1b7a03f..0357631 100644 (file)
@@ -88,4 +88,6 @@
 #define CONFIG_ENV_SIZE                        SZ_8K
 #define CONFIG_ENV_IS_IN_MMC
 
+#define CONFIG_IMX_THERMAL
+
 #endif                         /* __CONFIG_H */