diff options
author | Anson Huang <b20788@freescale.com> | 2013-03-29 11:54:43 -0400 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2013-03-29 11:54:43 -0400 |
commit | ab4d5b57843c9d90a0c80bc0645148c8220e862a (patch) | |
tree | 3e191eec3257873cb13f75b255cf8592253c530b | |
parent | fa8be407c6a462ea9bd6ded4e087cb7d98a50487 (diff) | |
download | u-boot-imx-ab4d5b57843c9d90a0c80bc0645148c8220e862a.zip u-boot-imx-ab4d5b57843c9d90a0c80bc0645148c8220e862a.tar.gz u-boot-imx-ab4d5b57843c9d90a0c80bc0645148c8220e862a.tar.bz2 |
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 <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 880374d..253b5e0 100644 --- a/cpu/arm_cortexa8/mx6/generic.c +++ b/cpu/arm_cortexa8/mx6/generic.c @@ -896,7 +896,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), |