summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2013-04-15 08:48:20 +0800
committerAnson Huang <b20788@freescale.com>2013-05-02 09:59:44 +0800
commit529266241eb7f8be45959f332ad7ddb8e950e06d (patch)
tree2c7716ddc7b538a8acc0c1a407c0514bd9febf28
parent61de6c901b4f3e5677819d31a36482fcef6e2791 (diff)
ENGR00258651 thermal: update equation for i.MX6sl
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--drivers/mxc/thermal/thermal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mxc/thermal/thermal.c b/drivers/mxc/thermal/thermal.c
index 9cf50a913c2e..39383e297216 100644
--- a/drivers/mxc/thermal/thermal.c
+++ b/drivers/mxc/thermal/thermal.c
@@ -43,7 +43,6 @@
#include <linux/cpufreq.h>
#include <linux/clk.h>
#include "anatop_driver.h"
-#include <mach/hardware.h>
/* register define of anatop */
#define HW_ANADIG_ANA_MISC0 (0x00000150)
@@ -888,7 +887,7 @@ static int anatop_thermal_counting_ratio(unsigned int fuse_data)
raw_hot = (fuse_data & 0xfff00) >> 8;
hot_temp = fuse_data & 0xff;
- if (!calibration_valid && !cpu_is_mx6sl())
+ if (!calibration_valid)
/*
* The universal equation for thermal sensor
* is slope = 0.4297157 - (0.0015976 * 25C fuse),