summaryrefslogtreecommitdiff
path: root/src/mainboard/google
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
parent956f56d645fd620274516a13d538a77f4fc4365d (diff)
downloadcoreboot-0b682636f3105952bf561bb064b4664446631d28.tar.xz
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')
-rw-r--r--src/mainboard/google/nyan/Kconfig9
-rw-r--r--src/mainboard/google/nyan_big/Kconfig9
-rw-r--r--src/mainboard/google/nyan_blaze/Kconfig9
3 files changed, 27 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
diff --git a/src/mainboard/google/nyan_big/Kconfig b/src/mainboard/google/nyan_big/Kconfig
index 14a28cd7b8..099ff7f92d 100644
--- a/src/mainboard/google/nyan_big/Kconfig
+++ b/src/mainboard/google/nyan_big/Kconfig
@@ -28,6 +28,7 @@ config BOARD_SPECIFIC_OPTIONS
select SPI_FLASH_WINBOND
select MAINBOARD_HAS_I2C_TPM_GENERIC
select MAINBOARD_HAS_TPM1
+ select DRIVERS_AS3722_RTC
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
@@ -79,4 +80,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_BIG
diff --git a/src/mainboard/google/nyan_blaze/Kconfig b/src/mainboard/google/nyan_blaze/Kconfig
index 35bd69190a..4c611b986e 100644
--- a/src/mainboard/google/nyan_blaze/Kconfig
+++ b/src/mainboard/google/nyan_blaze/Kconfig
@@ -28,6 +28,7 @@ config BOARD_SPECIFIC_OPTIONS
select SPI_FLASH_WINBOND
select MAINBOARD_HAS_I2C_TPM_GENERIC
select MAINBOARD_HAS_TPM1
+ select DRIVERS_AS3722_RTC
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
@@ -79,4 +80,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_BLAZE