summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2013-03-29 11:54:43 -0400
committerJason Liu <r64343@freescale.com>2013-04-07 16:53:05 +0800
commitd952188bd3ce9432357cc4ce6f5e692fd6d25d0f (patch)
treeae59d49a47e816b59e139d89c320e96bb2c00ff5
parentc7ea58fb7faeca003db3bcf779b944e0a33f700d (diff)
downloadu-boot-imx-d952188bd3ce9432357cc4ce6f5e692fd6d25d0f.zip
u-boot-imx-d952188bd3ce9432357cc4ce6f5e692fd6d25d0f.tar.gz
u-boot-imx-d952188bd3ce9432357cc4ce6f5e692fd6d25d0f.tar.bz2
ENGR00256543 mx6: Update equation for thermal sensor on i.MX6DLrel_imx_3.0.35_3.0.4imx_v2009.08_3.0.0
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 53b2def..dde85ce 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),