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:
parent
b7fad898af
commit
0770f25899
|
@ -345,6 +345,10 @@ menu "Generic Drivers"
|
||||||
source "src/drivers/*/Kconfig"
|
source "src/drivers/*/Kconfig"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
config RTC
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config TPM
|
config TPM
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
config DRIVERS_AS3722_RTC
|
config DRIVERS_AS3722_RTC
|
||||||
bool "AS3722 RTC support"
|
bool "AS3722 RTC support"
|
||||||
default n
|
default n
|
||||||
|
select RTC
|
||||||
|
|
||||||
config DRIVERS_AS3722_RTC_BUS
|
config DRIVERS_AS3722_RTC_BUS
|
||||||
int "AS3722 RTC bus"
|
int "AS3722 RTC bus"
|
||||||
|
|
|
@ -20,6 +20,7 @@ config DRIVERS_PS2_KEYBOARD
|
||||||
config DRIVERS_MC146818
|
config DRIVERS_MC146818
|
||||||
bool
|
bool
|
||||||
default y if ARCH_X86
|
default y if ARCH_X86
|
||||||
|
select RTC
|
||||||
|
|
||||||
source src/drivers/pc80/tpm/Kconfig
|
source src/drivers/pc80/tpm/Kconfig
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ config DRIVERS_TI_TPS65913_RTC
|
||||||
bool "TI TPS65913 RTC support"
|
bool "TI TPS65913 RTC support"
|
||||||
default n
|
default n
|
||||||
select DRIVERS_TI_TPS65913
|
select DRIVERS_TI_TPS65913
|
||||||
|
select RTC
|
||||||
|
|
||||||
config DRIVERS_TI_TPS65913_RTC_BUS
|
config DRIVERS_TI_TPS65913_RTC_BUS
|
||||||
int "TI TPS65913 RTC bus"
|
int "TI TPS65913 RTC bus"
|
||||||
|
|
|
@ -32,6 +32,7 @@ config SOC_ROCKCHIP_RK3288
|
||||||
select BOOTBLOCK_CONSOLE
|
select BOOTBLOCK_CONSOLE
|
||||||
select UNCOMPRESSED_RAMSTAGE
|
select UNCOMPRESSED_RAMSTAGE
|
||||||
select GENERIC_GPIO_LIB
|
select GENERIC_GPIO_LIB
|
||||||
|
select RTC
|
||||||
|
|
||||||
if SOC_ROCKCHIP_RK3288
|
if SOC_ROCKCHIP_RK3288
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue