From a84414a0fe782c9ace668ae5ef25cfcb6f3340aa Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Thu, 14 Jan 2021 14:55:03 +0800 Subject: mb/google/asurada: Enable RTC for event log BUG=b:177399759 TEST=firmware_EventLog passed on asurada BRANCH=none Change-Id: I759f9030f525fa9e34ed542198a9dba8f25909f5 Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/49453 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/mainboard/google/asurada/Kconfig | 1 + src/soc/mediatek/mt8192/Makefile.inc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/mainboard/google/asurada/Kconfig b/src/mainboard/google/asurada/Kconfig index c497839843..77422851a8 100644 --- a/src/mainboard/google/asurada/Kconfig +++ b/src/mainboard/google/asurada/Kconfig @@ -12,6 +12,7 @@ config VBOOT config BOARD_SPECIFIC_OPTIONS def_bool y + select RTC select SOC_MEDIATEK_MT8192 select BOARD_ROMSIZE_KB_8192 select MAINBOARD_HAS_CHROMEOS diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc index 9109e61566..f5742a36f2 100644 --- a/src/soc/mediatek/mt8192/Makefile.inc +++ b/src/soc/mediatek/mt8192/Makefile.inc @@ -58,6 +58,8 @@ ramstage-y += ../common/mcu.c ramstage-y += mcupm.c ramstage-y += ../common/mmu_operations.c mmu_operations.c ramstage-y += ../common/mtcmos.c mtcmos.c +ramstage-y += pmif.c +ramstage-y += ../common/rtc.c rtc.c ramstage-y += soc.c ramstage-y += spm.c ramstage-y += sspm.c -- cgit v1.2.3