summaryrefslogtreecommitdiff
path: root/board/trogdor/build.mk
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-06-22 15:20:44 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-23 19:50:40 +0000
commitc53279eb78e62136c372d439155a7f4e62c4dbd2 (patch)
tree606ca872b02fecbaf19723b2be8f058badde9eba /board/trogdor/build.mk
parent4b29e049724c47965bb8e2b2ac1f9ff5e9ce126e (diff)
downloadchrome-ec-c53279eb78e62136c372d439155a7f4e62c4dbd2.tar.gz
trogdor: Move USB-C related functions and configs to usbc_config.c
Move the functions and configs from board.c into the shared file, usbc_config.c. So this code can be used by Zephyr. BRANCH=None BUG=b:191803008 TEST=Built the trogdor image and checked PD negotiation. Change-Id: I500baf13705d18517332992fd83258fe69735a3a Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2980446 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/trogdor/build.mk')
-rw-r--r--board/trogdor/build.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/trogdor/build.mk b/board/trogdor/build.mk
index 2fff43af4c..0d71877c98 100644
--- a/board/trogdor/build.mk
+++ b/board/trogdor/build.mk
@@ -11,4 +11,8 @@ CHIP_FAMILY:=npcx7
CHIP_VARIANT:=npcx7m6fc
BASEBOARD:=trogdor
-board-y=battery.o board.o led.o switchcap.o
+board-y+=battery.o
+board-y+=board.o
+board-y+=led.o
+board-y+=switchcap.o
+board-y+=usbc_config.o