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>
This commit is contained in:
Patrick Georgi
2015-04-22 13:28:21 +02:00
committed by Patrick Georgi
parent b7fad898af
commit 0770f25899
5 changed files with 8 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ config DRIVERS_TI_TPS65913_RTC
bool "TI TPS65913 RTC support"
default n
select DRIVERS_TI_TPS65913
select RTC
config DRIVERS_TI_TPS65913_RTC_BUS
int "TI TPS65913 RTC bus"