summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2017-06-08 09:37:26 +0200
committerStefano Babic <sbabic@denx.de>2017-07-12 09:42:33 +0200
commit8be70bb4aa165e7ea7bd5331ee2d045fca686c5f (patch)
treed0c1c0e06b346fddba01f44cc300cd9914c66720
parent258f76fd214e7cbefa3e35168252809ccf52c226 (diff)
downloadu-boot-8be70bb4aa165e7ea7bd5331ee2d045fca686c5f.tar.gz
u-boot-8be70bb4aa165e7ea7bd5331ee2d045fca686c5f.tar.bz2
u-boot-8be70bb4aa165e7ea7bd5331ee2d045fca686c5f.zip
ot1200: enable CONFIG_IMX_THERMAL for detailed thermal information
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
-rw-r--r--configs/ot1200_defconfig2
-rw-r--r--configs/ot1200_spl_defconfig2
-rw-r--r--include/configs/ot1200.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/configs/ot1200_defconfig b/configs/ot1200_defconfig
index d6271b8d55..7f1d7a8716 100644
--- a/configs/ot1200_defconfig
+++ b/configs/ot1200_defconfig
@@ -28,6 +28,8 @@ CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SPI_FLASH_SST=y
CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_OF_LIBFDT=y
diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_defconfig
index b64ded2cf7..1e3b0f7043 100644
--- a/configs/ot1200_spl_defconfig
+++ b/configs/ot1200_spl_defconfig
@@ -36,6 +36,8 @@ CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SPI_FLASH_SST=y
CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_OF_LIBFDT=y
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 7aeae7b1fd..be6bbad32e 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -95,6 +95,9 @@
#define CONFIG_PREBOOT ""
+/* Thermal support */
+#define CONFIG_IMX_THERMAL
+
/* Print Buffer Size */
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)