summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-07-23 11:02:27 -0300
committerStefano Babic <sbabic@denx.de>2015-07-26 12:24:44 +0200
commit862187b7cd7b9f7477d41532bc907b792455eb0d (patch)
treed00e4529d2edef1532ab1299826c843efb40b3ac
parent45e4d3504a8a969f0ce002360e2696e9979e4dda (diff)
downloadu-boot-imx-862187b7cd7b9f7477d41532bc907b792455eb0d.zip
u-boot-imx-862187b7cd7b9f7477d41532bc907b792455eb0d.tar.gz
u-boot-imx-862187b7cd7b9f7477d41532bc907b792455eb0d.tar.bz2
cgtqmx6eval: Add thermal support
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>
-rw-r--r--configs/cgtqmx6qeval_defconfig3
-rw-r--r--include/configs/cgtqmx6eval.h8
2 files changed, 11 insertions, 0 deletions
diff --git a/configs/cgtqmx6qeval_defconfig b/configs/cgtqmx6qeval_defconfig
index e1eb871..6fd29a0 100644
--- a/configs/cgtqmx6qeval_defconfig
+++ b/configs/cgtqmx6qeval_defconfig
@@ -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
diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h
index 9d9e388..c82bb41 100644
--- a/include/configs/cgtqmx6eval.h
+++ b/include/configs/cgtqmx6eval.h
@@ -32,6 +32,14 @@
/* 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 \