diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-06-27 15:42:02 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-06-28 11:34:15 -0700 |
commit | 7f67d27a53d521ecb430ec48758020e046c72f43 (patch) | |
tree | 7e115d97886f738704161db0956fd933a7226a73 /test | |
parent | 9dc2c1471c44a314dfe6dcc48e1527c4315ebf09 (diff) | |
download | chrome-ec-7f67d27a53d521ecb430ec48758020e046c72f43.tar.gz |
common: Decouple temp sensor from thermal throttling
Not everything with a temperature sensor uses thermal throttling. This
change modifies the conditional build to enable building temp sensor
source without thermal throttling.
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: I8c0753f12899e9f203c04477ae520bcda40d5fd8
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/356484
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 5b21c8f61c..7e0a9d073d 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -87,6 +87,7 @@ int board_discharge_on_ac(int enabled); #define CONFIG_I2C #define CONFIG_I2C_MASTER #define CONFIG_TEMP_SENSOR +#define CONFIG_THROTTLE_AP #define CONFIG_THERMISTOR_NCP15WB #define I2C_PORT_THERMAL 0 int ncp15wb_calculate_temp(uint16_t adc); |