summaryrefslogtreecommitdiff
path: root/chip/max32660/build.mk
diff options
context:
space:
mode:
authorJerry Bradshaw <jerry.bradshaw@maximintegrated.com>2019-07-24 10:40:03 -0500
committerCommit Bot <commit-bot@chromium.org>2019-09-26 21:56:08 +0000
commit23932a57f30994297b9749f432b46d6f267e890d (patch)
treecc4d7a2b636f9c465651144841b9dda4138fced0 /chip/max32660/build.mk
parentd7d7224a85160389d235cfd3ba2dca9b8ae47c8c (diff)
downloadchrome-ec-23932a57f30994297b9749f432b46d6f267e890d.tar.gz
max32660: add I2C master and slave
BRANCH=none BUG=none TEST=slave tested with EC CMDs sent from a custom written EC HOST using another MAX32660 device as an I2C Master Change-Id: Icdd3ac4bacbc6536a4165f63d155760d4013a8cc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1716928 Reviewed-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Harry Cutts <hcutts@chromium.org> Tested-by: Harry Cutts <hcutts@chromium.org> Commit-Queue: Harry Cutts <hcutts@chromium.org>
Diffstat (limited to 'chip/max32660/build.mk')
-rw-r--r--chip/max32660/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/max32660/build.mk b/chip/max32660/build.mk
index b47f91f7f9..e0f5636b2e 100644
--- a/chip/max32660/build.mk
+++ b/chip/max32660/build.mk
@@ -13,6 +13,7 @@ CFLAGS_CPU+=-march=armv7e-m -mcpu=cortex-m4
# Required chip modules
chip-y=clock_chip.o gpio_chip.o system_chip.o hwtimer_chip.o uart_chip.o
+chip-$(CONFIG_I2C)+=i2c_chip.o
# Optional chip modules
chip-$(CONFIG_FLASH_PHYSICAL)+=flash_chip.o