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 cca8a8755c374a6d5c63298a7af6df232282380b..c682484efb1fbcc2cf1282903bf7b28a0aa82192 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 1b7a03f1b84393858c9f73a043262229a1a7df93..0357631664fc008a94b53d133e37a684fe99590a 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 */