summaryrefslogtreecommitdiff
path: root/board/cr50/build.mk
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2017-09-06 14:28:05 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-09 13:48:49 -0700
commitccb151d013d429337a1bb07adfdb55469f3543ba (patch)
treee64a46b44cb054fd76fbd4586aa1038d9043821c /board/cr50/build.mk
parent5da63f4ea2c93e6b059d8c50ff01dbe53a13dec2 (diff)
downloadchrome-ec-ccb151d013d429337a1bb07adfdb55469f3543ba.tar.gz
cr50: Defragment code
For historical reasons, CCD, reset, and power button control were scattered around several files. Consolidate the code in more sensible (in retrospect) places. No functional changes, just moving code. BUG=none BRANCH=cr50 TEST=make buildall; boot cr50 Change-Id: Ic381a5a5d0627753cc771189aa377e88b81b155e Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/653766 Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'board/cr50/build.mk')
-rw-r--r--board/cr50/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/build.mk b/board/cr50/build.mk
index d6b40c294e..15e1f1f2a3 100644
--- a/board/cr50/build.mk
+++ b/board/cr50/build.mk
@@ -29,7 +29,7 @@ dirs-y += chip/$(CHIP)/dcrypto
dirs-y += $(BDIR)/tpm2
# Objects that we need to build
-board-y = board.o ap_state.o ec_state.o servo_state.o
+board-y = board.o ap_state.o ec_state.o power_button.o servo_state.o
board-${CONFIG_RDD} += rdd.o
board-${CONFIG_USB_SPI} += usb_spi.o
board-${CONFIG_USB_I2C} += usb_i2c.o