summaryrefslogtreecommitdiff
path: root/include/configs/mx6sxsabresd.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-25 13:11:07 -0200
committerStefano Babic <sbabic@denx.de>2014-12-01 10:20:18 +0100
commit4b16fd228673a027ab122e33819695e9b7c73dd3 (patch)
treeb294236abd5e5084b98b8bace3081511fb672aa5 /include/configs/mx6sxsabresd.h
parent7267c925b3817478c9ccd0c4a1286ff81f7859f9 (diff)
downloadu-boot-4b16fd228673a027ab122e33819695e9b7c73dd3.tar.gz
mx6sxsabresd: Add thermal support
Add thermal support so that the temperature of the chip can be displayed on boot: U-Boot 2015.01-rc1-18268-g1366c05-dirty (Nov 25 2014 - 13:02:42) CPU: Freescale i.MX6SX rev1.0 at 792 MHz CPU: Temperature 50 C Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx6sxsabresd.h')
-rw-r--r--include/configs/mx6sxsabresd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index d8ab2917ea..5e0edabf37 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -208,6 +208,16 @@
#define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(2, 1)
#endif
+#define CONFIG_DM
+#define CONFIG_DM_THERMAL
+#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
+#define CONFIG_IMX6_THERMAL
+
+#define CONFIG_CMD_FUSE
+#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
+#define CONFIG_MXC_OCOTP
+#endif
+
/* FLASH and environment organization */
#define CONFIG_SYS_NO_FLASH