summaryrefslogtreecommitdiff
path: root/driver/build.mk
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 /driver/build.mk
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 'driver/build.mk')
-rw-r--r--driver/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/build.mk b/driver/build.mk
index 68a412423d..230ca34af3 100644
--- a/driver/build.mk
+++ b/driver/build.mk
@@ -94,6 +94,7 @@ driver-$(CONFIG_TOUCHPAD_ELAN)+=touchpad_elan.o
driver-$(CONFIG_TOUCHPAD_ST)+=touchpad_st.o
# Thermistors
+driver-$(CONFIG_THERMISTOR)+=temp_sensor/thermistor.o
driver-$(CONFIG_THERMISTOR_NCP15WB)+=temp_sensor/thermistor_ncp15wb.o
# Type-C port controller (TCPC) drivers