From 0b682636f3105952bf561bb064b4664446631d28 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 23 Apr 2020 12:45:11 +0200 Subject: mb/google/nyan*: Always add RTC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40657 Reviewed-by: Michael Niewöhner Reviewed-by: Julius Werner Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/google/nyan/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mainboard/google/nyan/Kconfig') 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 -- cgit v1.2.3