diff options
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c index a7f8444437..6964727656 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -44,7 +44,7 @@ test_export_static struct thermal_config_t {THERMAL_CONFIG_NO_FLAG, {THERMAL_THRESHOLD_DISABLE_ALL} }, }; test_export_static const int fan_speed[THERMAL_FAN_STEPS + 1] = -{2700, 3000, 3300, 3600, 3900, 4200, 4500, 5000}; + {2700, 3000, 3300, 3600, 3900, 4200, 4500, 5000}; #endif #ifdef BOARD_peppy /* DON'T DO THIS */ test_export_static struct thermal_config_t @@ -61,6 +61,21 @@ test_export_static struct thermal_config_t test_export_static const int fan_speed[THERMAL_FAN_STEPS + 1] = {0, 3200, 3700, 4000, 4400, 4900, 5500, 6500}; #endif +#ifdef BOARD_leon /* for testing */ /* DON'T DO THIS */ +test_export_static struct thermal_config_t + thermal_config[TEMP_SENSOR_TYPE_COUNT] = { + /* TEMP_SENSOR_TYPE_CPU */ + {THERMAL_CONFIG_WARNING_ON_FAIL, + {373, 378, 383, + 327, 335, 343, 351, 359} } , + /* TEMP_SENSOR_TYPE_BOARD */ + {THERMAL_CONFIG_NO_FLAG, {THERMAL_THRESHOLD_DISABLE_ALL} }, + /* TEMP_SENSOR_TYPE_CASE */ + {THERMAL_CONFIG_NO_FLAG, {THERMAL_THRESHOLD_DISABLE_ALL} }, +}; +test_export_static const int fan_speed[THERMAL_FAN_STEPS + 1] = + {0, 3000, 4575, 6150, 7725, -1}; +#endif #ifdef BOARD_host /* for testing */ /* DON'T DO THIS */ test_export_static struct thermal_config_t thermal_config[TEMP_SENSOR_TYPE_COUNT] = { |