summaryrefslogtreecommitdiff
path: root/driver/build.mk
diff options
context:
space:
mode:
authorRuibin Chang <Ruibin.Chang@ite.com.tw>2021-07-01 16:56:03 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-09 03:45:49 +0000
commit4cf446bf5f122050f00376af66b9f5edcab26ba6 (patch)
tree1ec37f00932eea32cac7bb4d0e53cc0a1a62d788 /driver/build.mk
parentde941c3ac9c049fea4fa199a95b39d0df20ce6c0 (diff)
downloadchrome-ec-4cf446bf5f122050f00376af66b9f5edcab26ba6.tar.gz
driver/tcpm/ite_pd_intc: separate pd interrupt to ite_pd_intc
Separate pd interrupt functions to ite_pd_intc for easier maintenance on cros_ec and zephyr. And enable PD interrupt functions for zephyr. BRANCH=none BUG=none TEST=1.can zmake hayato and make asurada 2.PD port functions work on board hayato Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw> Change-Id: I67082bb442da7dfb669e23d8315d81f4abe7ba76 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2999358 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@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 3df8ecc102..3efe9cd467 100644
--- a/driver/build.mk
+++ b/driver/build.mk
@@ -142,6 +142,7 @@ driver-$(CONFIG_USB_PD_TCPM_TCPCI)+=tcpm/tcpci.o
driver-$(CONFIG_USB_PD_TCPM_FUSB302)+=tcpm/fusb302.o
driver-$(CONFIG_USB_PD_TCPM_MT6370)+=tcpm/mt6370.o
ifdef CONFIG_USB_PD_TCPM_ITE_ON_CHIP
+driver-y +=tcpm/ite_pd_intc.o
driver-$(CONFIG_USB_PD_TCPM_DRIVER_IT83XX)+=tcpm/it83xx.o
driver-$(CONFIG_USB_PD_TCPM_DRIVER_IT8XXX2)+=tcpm/it8xxx2.o
endif