summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mandolin
diff options
context:
space:
mode:
authorMatt Papageorge <matthewpapa07@gmail.com>2020-07-08 11:33:48 -0500
committerFurquan Shaikh <furquan@google.com>2020-07-30 20:55:26 +0000
commit95c42c3b04b1e499d756d979ef0ce2c428d9c540 (patch)
treec3579892a46d8fe061177c24a579dd5eb7410125 /src/mainboard/amd/mandolin
parent80e2dd88542581fe637b3ee7825bfe4c65811bba (diff)
downloadcoreboot-95c42c3b04b1e499d756d979ef0ce2c428d9c540.tar.xz
mb/amd,google/mandolin,zork: Set EFS SPI platform config
Set platform defaults for SPI settings in Kconfig for EFS. BUG=b:158755102 TEST=Build and boot test on Tremblye and Morphius. Verify values in output image in a hex editor. Measure 1st x86 timestamp, perf improves by over a second. Change-Id: I765dada14700f4800263d2d3844af07fad0e5b71 Signed-off-by: Matt Papageorge <matthewpapa07@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43303 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/mandolin')
-rw-r--r--src/mainboard/amd/mandolin/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/amd/mandolin/Kconfig b/src/mainboard/amd/mandolin/Kconfig
index 0913c15458..03cbd4b425 100644
--- a/src/mainboard/amd/mandolin/Kconfig
+++ b/src/mainboard/amd/mandolin/Kconfig
@@ -105,4 +105,18 @@ config VGA_BIOS_DGPU_FILE
string
default "3rdparty/amd_blobs/picasso/PicassoGenericVbios.bin" if BOARD_AMD_MANDOLIN
+config EFS_SPI_READ_MODE
+ int
+ default 0 if EM100
+ default 5
+
+config EFS_SPI_SPEED
+ int
+ default 3 if EM100
+ default 0
+
+config EFS_SPI_MICRON_FLAG
+ int
+ default 0
+
endif # BOARD_AMD_MANDOLIN