summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2013-04-15 08:54:42 +0800
committerAnson Huang <b20788@freescale.com>2013-05-02 11:04:12 +0800
commit0b62b3e55a88d7398d235779606c322d3973735f (patch)
treeb06f9cb9455f5b1ff4e18b8d491ee2f3737d6ea3
parent829b26d1d8b616c3a5202654b4eadc547d41f80a (diff)
ENGR00258651 mx6: update thermal equation for i.MX6slrel_imx_3.0.35_2.1.0
New thermal equation is working for all i.MX6 series SOCs, so update it for i.MX6SL as well. Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--cpu/arm_cortexa8/mx6/generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c
index 2652f87..e3b1692 100644
--- a/cpu/arm_cortexa8/mx6/generic.c
+++ b/cpu/arm_cortexa8/mx6/generic.c
@@ -892,11 +892,11 @@ static inline int read_cpu_temperature(void)
hot_temp = fuse & 0xff;
/*
- * Only when it is i.MX6Q and high temperature calibration
+ * Only when high temperature calibration
* data not used, we use universal equation to get thermal
* sensor's ratio.
*/
-#if (!defined(CONFIG_MX6SL) && !defined(USE_CALIBRATION))
+#ifndef USE_CALIBRATION
/*
* The universal equation for thermal sensor
* is slope = 0.4297157 - (0.0015976 * 25C fuse),