summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa8/mx6/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm_cortexa8/mx6/generic.c')
-rw-r--r--cpu/arm_cortexa8/mx6/generic.c2
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),