diff options
author | Anson Huang <b20788@freescale.com> | 2013-03-29 11:54:43 -0400 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2013-04-02 19:51:45 -0400 |
commit | 3c73a4c87c29cfb7af4cfdc5b457892d24b89a27 (patch) | |
tree | a6383680b9018f2b93175b89c3f02a1a6c578a92 | |
parent | 7232c7ce56a9743996814783a886f5c299b5bbc2 (diff) | |
download | u-boot-imx-3c73a4c87c29cfb7af4cfdc5b457892d24b89a27.zip u-boot-imx-3c73a4c87c29cfb7af4cfdc5b457892d24b89a27.tar.gz u-boot-imx-3c73a4c87c29cfb7af4cfdc5b457892d24b89a27.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), |