summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/Kconfig
diff options
context:
space:
mode:
authorChris.Wang <chris.wang@amd.corp-partner.google.com>2022-04-19 23:21:19 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-04-20 20:29:45 +0000
commit80b686d4b2690d213a4041d8b533317045af69eb (patch)
treed13589cc822f5c3a0f7fd97ba6474eca1d93e7ec /src/mainboard/google/skyrim/Kconfig
parent161e731d7e6b3c23268c2f3916f2e0613741bc87 (diff)
mb/google/skyrim: Update SPI settings for skyrim
Update SPI setting as below: Normal speed:33mhz Fast speed:66mhz Alt speed:66mz TPM speed:33mhz BUG=b:225213679 TEST=boot skyrim and verify spi settings. Signed-off-by: Chris.Wang <chris.wang@amd.corp-partner.google.com> Change-Id: Icbe4b9f4794f7e883c3819258ede809c3c8922b0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63717 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/skyrim/Kconfig')
-rw-r--r--src/mainboard/google/skyrim/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index 3c2eab2dcc..0f5469db1c 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -71,4 +71,22 @@ config VBOOT
select VBOOT_SEPARATE_VERSTAGE
select VBOOT_STARTS_IN_BOOTBLOCK
+if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
+config EFS_SPI_READ_MODE
+ default 2 # Dual IO (1-1-2)
+
+config EFS_SPI_SPEED
+ default 0 # 66MHz
+
+config EFS_SPI_MICRON_FLAG
+ default 0
+
+config NORMAL_READ_SPI_SPEED
+ default 1 # 33MHz
+
+config ALT_SPI_SPEED
+ default 0 # 66MHz
+
+endif # !EM100
+
endif # BOARD_GOOGLE_BASEBOARD_SKYRIM