From d952188bd3ce9432357cc4ce6f5e692fd6d25d0f Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 29 Mar 2013 11:54:43 -0400 Subject: ENGR00256543 mx6: Update equation for thermal sensor on i.MX6DL Use universal equation and 25C's calibration data to get thermal sensor's ratio on i.MX6DL. Signed-off-by: Anson Huang --- cpu/arm_cortexa8/mx6/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.1