summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2013-03-29 11:54:43 -0400
committerRichard Liu <r66033@freescale.com>2013-04-08 12:20:25 +0800
commit5e9d1329d6e5bdc982881d043dbf0600ed7a1507 (patch)
tree63b85a787a07353b1c6deebcf3a86026f8cdfc74
parent014897e86eb9d6754b0ba38715615870752669ab (diff)
downloadu-boot-imx-imx-android-13.4.1.04.zip
u-boot-imx-imx-android-13.4.1.04.tar.gz
u-boot-imx-imx-android-13.4.1.04.tar.bz2
ENGR00256543 mx6: Update equation for thermal sensor on i.MX6DLimx-android-13.4.1.04
Use universal equation and 25C's calibration data to get thermal sensor's ratio on i.MX6DL. Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--cpu/arm_cortexa8/mx6/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c
index b2ca31e..4681772 100644
--- a/cpu/arm_cortexa8/mx6/generic.c
+++ b/cpu/arm_cortexa8/mx6/generic.c
@@ -891,7 +891,7 @@ static inline int read_cpu_temperature(void)
* data not used, we use universal equation to get thermal
* sensor's ratio.
*/
-#if (defined(CONFIG_MX6Q) && !defined(USE_CALIBRATION))
+#if (!defined(CONFIG_MX6SL) && !defined(USE_CALIBRATION))
/*
* The universal equation for thermal sensor
* is slope = 0.4297157 - (0.0015976 * 25C fuse),