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 <zhuohao@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62296
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Zhuohao Lee 2022-01-21 00:28:58 +08:00 committed by Felix Held
parent 84eb532ec3
commit d036a70d74
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ endchoice
config MEMORY_SODIMM config MEMORY_SODIMM
def_bool n def_bool n
select SPD_CACHE_ENABLE
select SPD_CACHE_IN_FMAP select SPD_CACHE_IN_FMAP
config MEMORY_SOLDERDOWN config MEMORY_SOLDERDOWN