]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
imx:mx6slevk support reading temperature
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 10 Mar 2015 07:33:25 +0000 (15:33 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:15 +0000 (14:34 +0200)
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 c1cf6c6a3fd3d42bbf6643375535d01b53cf78e9..c1ee8300734610643fbd7fa13e39d6f7beab0f77 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 */