aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/ams
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-22 13:28:21 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 16:18:13 +0200
commit0770f258991ab84d893d6514e785cfc16aa3582d (patch)
tree1ff209d03fe529c8124968d4fec6f2606fcbb6ac /src/drivers/ams
parentb7fad898af0ab3fb1f96cf788181db61b6ad838d (diff)
rtc: add config flag to denote rtc API availability
RTC drivers now select RTC, so that code which depends on them can implement fallback behavior for systems that lack the hardware or driver. Change-Id: I0f5a15d643b0c45c511f1151a98e071b4155fb5a Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/9953 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/ams')
-rw-r--r--src/drivers/ams/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ams/Kconfig b/src/drivers/ams/Kconfig
index 44b89c5f0c..6729443611 100644
--- a/src/drivers/ams/Kconfig
+++ b/src/drivers/ams/Kconfig
@@ -1,6 +1,7 @@
config DRIVERS_AS3722_RTC
bool "AS3722 RTC support"
default n
+ select RTC
config DRIVERS_AS3722_RTC_BUS
int "AS3722 RTC bus"