imx:mx6slevk support reading temperature
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 10 Mar 2015 07:33:25 +0000 (15:33 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Mar 2015 12:19:18 +0000 (13:19 +0100)
This patch is to support reading temperature for mx6slevk board.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
configs/mx6slevk_defconfig
configs/mx6slevk_spinor_defconfig
include/configs/mx6slevk.h

index fb8c4decfdd9dd081eaef328f65cc73a7fcf7477..c6b3108d7526b781586e8f8d7d3e2236d931dee1 100644 (file)
@@ -1,3 +1,7 @@
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg,MX6SL"
 CONFIG_ARM=y
 CONFIG_TARGET_MX6SLEVK=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
index 93efe730149bcad969e52cb5a26da853c3504466..454cb400b5690aef5d91f3ee43272c3d70fbc70d 100644 (file)
@@ -1,3 +1,7 @@
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg,MX6SL,SYS_BOOT_SPINOR"
 CONFIG_ARM=y
 CONFIG_TARGET_MX6SLEVK=y
+CONFIG_SYS_MALLOC_F=y
+CONFIG_SYS_MALLOC_F_LEN=0x400
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
index 21c654b6b1216f2906f74f063bfe6e75059e3ce4..dad49f96df4cd75e9eac4eff55c1ec2607597b2a 100644 (file)
 #define CONFIG_SYS_MMC_ENV_DEV         1       /* SDHC2*/
 #endif
 
+#define CONFIG_IMX6_THERMAL
+
+#define CONFIG_CMD_FUSE
+#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
+#define CONFIG_MXC_OCOTP
+#endif
+
 #endif                         /* __CONFIG_H */