diff options
author | Anson Huang <b20788@freescale.com> | 2013-03-29 11:54:43 -0400 |
---|---|---|
committer | Richard Liu <r66033@freescale.com> | 2013-04-09 15:01:06 +0800 |
commit | f269a8cdaabc578b0b60570e04a4fa44ec133e54 (patch) | |
tree | bfd86606ffc4fdb1a684dadde3c19e151ad0fae9 | |
parent | 589e6f19de892b76aa4c13f4e1fe66d7bbab1d0e (diff) |
ENGR00256543 mx6: Update equation for thermal sensor on i.MX6DLimx-android-r13.4-ga.03
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c index 1da1f7c..048ded9 100644 --- a/cpu/arm_cortexa8/mx6/generic.c +++ b/cpu/arm_cortexa8/mx6/generic.c @@ -888,7 +888,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), |