summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJamie Chen <jamie.chen@intel.com>2020-02-12 15:49:58 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 15:39:46 +0000
commit4e3cb9588bf15b416698484faad8454482ceae41 (patch)
tree271589ed138edea0a54fe0842b4718fe9d80bce1 /src
parentb4a2938f0936985bca4b3715eddb1392ef422297 (diff)
downloadcoreboot-4e3cb9588bf15b416698484faad8454482ceae41.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/hatch/Kconfig.name1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/Kconfig.name b/src/mainboard/google/hatch/Kconfig.name
index e216135419..2427b12bf4 100644
--- a/src/mainboard/google/hatch/Kconfig.name
+++ b/src/mainboard/google/hatch/Kconfig.name
@@ -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"