From d036a70d74e1c338315ebd3076e8f8b27d5d103a Mon Sep 17 00:00:00 2001 From: Zhuohao Lee Date: Fri, 21 Jan 2022 00:28:58 +0800 Subject: [PATCH] mb/google/brya: enable the SPD_CACHE_ENABLE google/brask is using SODIMMs for DRAM. Reading spd data is surprisingly slow (~170 ms), therefore enable the SPD cache. BUG=b:200243989 BRANCH=firmware-brya-14505.B TEST=run on the device and measure the boot time decrease. Change-Id: If0a0072160a48b607ad17c0a1819ab49eaad92db Signed-off-by: Zhuohao Lee Reviewed-on: https://review.coreboot.org/c/coreboot/+/62296 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index f7bd715f5d..00e8bc9c18 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -239,6 +239,7 @@ endchoice config MEMORY_SODIMM def_bool n + select SPD_CACHE_ENABLE select SPD_CACHE_IN_FMAP config MEMORY_SOLDERDOWN