mb/google/puff: Enable SPD_READ_BY_WORD to short the boottime

Puff uses the smbus to access the SPD of memory DIMMs.
It will short the SPD reading time if enabling SPD_READ_BY_WORD.

BUG=b:149360051
BRANCH=None
TEST=build puff and boot up OS
     ran cbmem -t | grep FspMemoryInit
     Without this patch:
     950:calling FspMemoryInit            643,199 (257,588)
     With this patch:
     950:calling FspMemoryInit            477,714 (154,612)

Signed-off-by: Jamie Chen <jamie.chen@intel.com>
Change-Id: I161e8eb386ab604b16746f0deeecc3d6c9063c3a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38848
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
Jamie Chen
2020-02-12 15:49:58 +08:00
committed by Patrick Georgi
parent b4a2938f09
commit 4e3cb9588b

View File

@@ -48,6 +48,7 @@ config BOARD_GOOGLE_PUFF
select BOARD_GOOGLE_BASEBOARD_HATCH
select BOARD_ROMSIZE_KB_32768
select ROMSTAGE_SPD_SMBUS
select SPD_READ_BY_WORD
config BOARD_GOOGLE_HELIOS_DISKSWAP
bool "-> Helios_Diskswap"