]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cgtqmx6eval: Add thermal support
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 23 Jul 2015 14:02:27 +0000 (11:02 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 26 Jul 2015 10:24:44 +0000 (12:24 +0200)
Add thermal support so that we can see the following message on boot:

CPU:   Industrial temperature grade (-40C to 105C) at 33C

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
configs/cgtqmx6qeval_defconfig
include/configs/cgtqmx6eval.h

index e1eb871b4a33045ac0369d91aea9be0815a5e67e..6fd29a00aec17efa54743b87df800b7742a1f281 100644 (file)
@@ -1,6 +1,9 @@
 CONFIG_ARM=y
 CONFIG_TARGET_CGTQMX6EVAL=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/congatec/cgtqmx6eval/imximage.cfg,MX6Q"
+CONFIG_CMD_NET=y
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
index 9d9e38874e51b45983849e17d8399be425c9759e..c82bb4101e5d7e327e83d8d8b8f66aa0d29d61b0 100644 (file)
 /* Miscellaneous commands */
 #define CONFIG_CMD_BMODE
 
+/* Thermal support */
+#define CONFIG_IMX6_THERMAL
+
+#define CONFIG_CMD_FUSE
+#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
+#define CONFIG_MXC_OCOTP
+#endif
+
 #define CONFIG_DEFAULT_FDT_FILE "imx6q-congatec.dtb"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \