summaryrefslogtreecommitdiff
path: root/src/mainboard/google/nyan
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-04-23 12:45:11 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-04-23 23:12:37 +0000
commit0b682636f3105952bf561bb064b4664446631d28 (patch)
tree6ca1ac09c1030916e4e3010011ae50710ccb6a0a /src/mainboard/google/nyan
parent956f56d645fd620274516a13d538a77f4fc4365d (diff)
mb/google/nyan*: Always add RTC driver
The device is always there, the Chromium OS configs always enable it, so let's mirror that here for a better out of the box experience. Change-Id: Ia2073ee7ecbdb37473e1f1002bc9ae0f7df58e42 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40657 Reviewed-by: Michael Niewöhner Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/nyan')
-rw-r--r--src/mainboard/google/nyan/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/nyan/Kconfig b/src/mainboard/google/nyan/Kconfig
index 3dc552020e..82577e9eea 100644
--- a/src/mainboard/google/nyan/Kconfig
+++ b/src/mainboard/google/nyan/Kconfig
@@ -26,6 +26,7 @@ config BOARD_SPECIFIC_OPTIONS
select SPI_FLASH
select SPI_FLASH_GIGADEVICE
select SPI_FLASH_WINBOND
+ select DRIVERS_AS3722_RTC
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
@@ -77,4 +78,12 @@ config DRIVER_TPM_I2C_ADDR
hex
default 0x20
+config DRIVERS_AS3722_RTC_BUS
+ int
+ default 4
+
+config DRIVERS_AS3722_RTC_ADDR
+ hex
+ default 0x40
+
endif # BOARD_GOOGLE_NYAN