aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/ck505/Makefile.inc
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-06-06 09:46:01 +0200
committerMartin Roth <martinroth@google.com>2017-08-30 15:46:55 +0000
commit24231aceacd46a6b5f1c29dda6c97a436495555d (patch)
tree46918bcc6a05bb4999903c3e971aaad64fe59a77 /src/drivers/i2c/ck505/Makefile.inc
parent4f62d165dfb1824c40e7501b27c0f7dccb8323a6 (diff)
drivers/i2c/ck505: Add generic driver to configure clockgen
Replaces the ics/954309 driver with a more generic version to accommodate clockgens with a different amount of registers. It also features a mask to only touch certain bits of the clockgen. TODO: set appropriate mask for X60/T60 since the datasheets for their clockgens can be found. Change-Id: Ie43c4de7891a39f2f443e78213ecd688134e68d7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/20042 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers/i2c/ck505/Makefile.inc')
-rw-r--r--src/drivers/i2c/ck505/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/i2c/ck505/Makefile.inc b/src/drivers/i2c/ck505/Makefile.inc
new file mode 100644
index 0000000000..5ccf4a86cd
--- /dev/null
+++ b/src/drivers/i2c/ck505/Makefile.inc
@@ -0,0 +1 @@
+ramstage-$(CONFIG_DRIVERS_I2C_CK505) += ck505.c