summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-06-12 15:18:35 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-06-15 10:56:44 -0700
commit35ae76ab7060364a2e343b59d58ec86d8e06990b (patch)
tree58bbfc4f782a39b07cd7eb21eba2e3d4871399e5 /test
parent33581f7a5f4c657b94b254537671ffe0a6fe6bd2 (diff)
downloadchrome-ec-35ae76ab7060364a2e343b59d58ec86d8e06990b.tar.gz
thermistor: move thermistor tables into common code
The exact same 2 lookup tables are in multiple board files. We seem to reuse the 2 thermistor circuit enough that we should single source them in a common location. BRANCH=none BUG=none TEST=yorp sensors still function properly Change-Id: Ic393c609c78c8a51c55a67b639c1fb9e6c387d8a Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1100943 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index e0dfcf48bb..76e071b556 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -141,6 +141,7 @@ int board_discharge_on_ac(int enabled);
#define CONFIG_I2C_MASTER
#define CONFIG_TEMP_SENSOR
#define CONFIG_THROTTLE_AP
+#define CONFIG_THERMISTOR
#define CONFIG_THERMISTOR_NCP15WB
#define I2C_PORT_THERMAL 0
int ncp15wb_calculate_temp(uint16_t adc);