aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/ams/Makefile.inc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2014-04-30 21:37:14 -0700
committerMarc Jones <marc.jones@se-eng.com>2014-12-30 22:11:18 +0100
commitabb001a2fe3ffd88ea170888229ac898b6fbaf80 (patch)
tree4958ec5ac8eaedbfa5896dba9983bddf5f5bc6c2 /src/drivers/ams/Makefile.inc
parent03abaee2196ef5598742132df0e3c224d1ebd11c (diff)
rtc: Add an RTC driver for the AS3722 PMIC.
The AS3722 PMIC, like many PMICs, has an RTC built into it. This change adds a driver for it which implements the new RTC API. BUG=None TEST=Built and booted with the event log code modified to use this interface. Verified that events had accurate timestamps. BRANCH=nyan Original-Change-Id: I400adccbf84221dcba8d520276bb91b389f72268 Original-Signed-off-by: Gabe Black <gabeblack@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/197796 Original-Reviewed-by: Gabe Black <gabeblack@chromium.org> Original-Tested-by: Gabe Black <gabeblack@chromium.org> Original-Commit-Queue: Gabe Black <gabeblack@chromium.org> (cherry picked from commit 011e49beba3a99abbd122866891e3c20bf1188d2) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Ibc1d342062c7853a30d195496c077e37a02b35b0 Reviewed-on: http://review.coreboot.org/7890 Reviewed-by: David Hendricks <dhendrix@chromium.org> Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers/ams/Makefile.inc')
-rw-r--r--src/drivers/ams/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ams/Makefile.inc b/src/drivers/ams/Makefile.inc
new file mode 100644
index 0000000000..cf5183196c
--- /dev/null
+++ b/src/drivers/ams/Makefile.inc
@@ -0,0 +1 @@
+ramstage-$(CONFIG_DRIVERS_AS3722_RTC) += as3722rtc.c