diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-23 18:30:08 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-28 09:28:05 +0200 |
commit | 8d048cfdb93990bd08793766277b175c5c4096db (patch) | |
tree | 35d34cbb7bc01faaa039b8987d847be41303edb6 | |
parent | 59091f05d7c13c1532ce2bcf8b4dee2526aa5d35 (diff) |
i.mx 6/7 increase maximum temperature for booting linux
On i.MX 6 and i.MX 7 U-Boot does wait until the measured SOC temperature
is below a certain limit.
On i.MX 6 this was 80°C, on i.MX7 85°C.
Put this consistently to 90°C to allow the extended/industrial temperature
rated modules to boot at elevated temperatures.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r-- | drivers/thermal/imx_thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 5a1caf28718..edc784988d9 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -22,7 +22,7 @@ #if defined(CONFIG_MX6) #define TEMPERATURE_MIN -40 -#define TEMPERATURE_HOT 80 +#define TEMPERATURE_HOT 90 #define TEMPERATURE_MAX 125 #define FACTOR0 10000000 #define FACTOR1 15423 @@ -125,7 +125,7 @@ static int read_cpu_temperature(struct udevice *dev) } #elif defined(CONFIG_MX7) #define TEMPERATURE_MIN -40 -#define TEMPERATURE_HOT 85 +#define TEMPERATURE_HOT 90 #define TEMPERATURE_MAX 125 #define MEASURE_FREQ 327 #define TEMPSENSE1_FINISHED (1 << 11) |