summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b2ca31e..4681772 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),