summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/pcf8523/Makefile.inc
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2016-07-13 08:21:22 +0200
committerWerner Zeh <werner.zeh@siemens.com>2016-07-14 07:04:04 +0200
commit3cad2de6124623169af1f84e88f2ff66b59130fc (patch)
tree17c8c5aee598e61f072efebfdd9506832b078cb1 /src/drivers/i2c/pcf8523/Makefile.inc
parent7804790226276dce0bf9c659bba061d46b5a184a (diff)
downloadcoreboot-3cad2de6124623169af1f84e88f2ff66b59130fc.tar.xz
drivers/i2c: Add new driver for RTC type PCF8523
This driver enables the usage of an external RTC chip PCF8523 which is connected to the I2C bus. The I2C address of this device is fixed. One can change parameters in device tree so that the used setup can be adapted in device tree to match the configuration of the device on the mainboard. Change-Id: I2d7e161c9e12b720ec4925f1acfd1dd8ee6ee5f5 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/15641 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers/i2c/pcf8523/Makefile.inc')
-rw-r--r--src/drivers/i2c/pcf8523/Makefile.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/drivers/i2c/pcf8523/Makefile.inc b/src/drivers/i2c/pcf8523/Makefile.inc
new file mode 100644
index 0000000000..6dc6ea1383
--- /dev/null
+++ b/src/drivers/i2c/pcf8523/Makefile.inc
@@ -0,0 +1,16 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright 2016 Siemens AG
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+
+ramstage-$(CONFIG_DRIVERS_I2C_PCF8523) += pcf8523.c