aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/designware/Makefile.inc
diff options
context:
space:
mode:
authorChris Ching <chingcodes@chromium.org>2017-12-06 14:26:15 -0700
committerChris Ching <chingcodes@chromium.org>2017-12-22 16:39:42 +0000
commitb8dc63bdfe04fc15553f1ea6e42583cbdaad38ac (patch)
tree6c25cdb3bb62df3cb80b01f111467b98800d18d0 /src/drivers/i2c/designware/Makefile.inc
parent17e85adc91d905919f8c4a512125ebd457ce99db (diff)
ic2/designware: Move Intel i2c logic to shared driver
BUG=b:70232394 BRANCH=none TEST=emerge-reef coreboot emerge-glados Change-Id: Idb453a4d2411163e6b4a8422310bf272eac5d379 Signed-off-by: Chris Ching <chingcodes@chromium.org> Reviewed-on: https://review.coreboot.org/22822 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/i2c/designware/Makefile.inc')
-rw-r--r--src/drivers/i2c/designware/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/i2c/designware/Makefile.inc b/src/drivers/i2c/designware/Makefile.inc
new file mode 100644
index 0000000000..0e92f05cd2
--- /dev/null
+++ b/src/drivers/i2c/designware/Makefile.inc
@@ -0,0 +1,8 @@
+ifeq ($(CONFIG_DRIVERS_I2C_DESIGNWARE),y)
+
+bootblock-y += dw_i2c.c
+romstage-y += dw_i2c.c
+verstage-y += dw_i2c.c
+ramstage-y += dw_i2c.c
+
+endif