diff options
author | Anson Huang <b20788@freescale.com> | 2013-03-29 11:54:43 -0400 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-04-07 16:53:05 +0800 |
commit | d952188bd3ce9432357cc4ce6f5e692fd6d25d0f (patch) | |
tree | ae59d49a47e816b59e139d89c320e96bb2c00ff5 | |
parent | c7ea58fb7faeca003db3bcf779b944e0a33f700d (diff) | |
download | u-boot-imx-imx_v2009.08_3.0.0.zip u-boot-imx-imx_v2009.08_3.0.0.tar.gz u-boot-imx-imx_v2009.08_3.0.0.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.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 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), |