summaryrefslogtreecommitdiff
path: root/chip/host/build.mk
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2019-07-01 12:21:49 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-18 00:15:57 +0000
commitdca00fcd76546d28f64dfc805c548d9fb34a7ba4 (patch)
tree22c7fd5a2c1d31dcd1e6fb0541b74180aba4213f /chip/host/build.mk
parent048e8abbb05ec7758045cb43dbc71fa1ecc93fbe (diff)
downloadchrome-ec-dca00fcd76546d28f64dfc805c548d9fb34a7ba4.tar.gz
chip/host: Add spi+trng support, and add gpio func
This adds fake SPI Master and TRNG support to the host target. This change also adds the missing emulated gpio interface function. Although general purpose, these changes are setup for allowing fuzzing of the FPMCU specific host commands. Thus, they do not impact any outstanding code. BRANCH=none BUG=b:116065496 TEST=make buildall -j Change-Id: Icfc40e7bf8ee421a4c3ad15377fd56ae68c763d7 Signed-off-by: Craig Hesling <hesling@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1684223 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/host/build.mk')
-rw-r--r--chip/host/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/host/build.mk b/chip/host/build.mk
index dc7ba91560..2e62f8f3d0 100644
--- a/chip/host/build.mk
+++ b/chip/host/build.mk
@@ -9,7 +9,7 @@
CORE:=host
chip-y=system.o gpio.o uart.o persistence.o flash.o lpc.o reboot.o i2c.o \
- clock.o
+ clock.o spi_master.o trng.o
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o
chip-$(CONFIG_USB_PD_TCPC)+=usb_pd_phy.o