summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-12-08 00:12:06 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-12-09 14:42:45 +0000
commitb33f351a59af63e8798a9bd7425a0cd79c045aca (patch)
tree26ba5565d292616244be16f894fa13f4b9f35bdd /src
parent5af890d666755ee8e21d605e3564a3dfa5f6796d (diff)
mb/google/kahlee/Kconfig: add remaining SPI speed settings
Before this patch only the SPI settings that will also end up in the amdfw part of the firmware were specified in the board's Kconfig. This patch adds the settings from Kahlee's bootblock.c to the Kconfig file which will be needed in subsequent patches. Also add a comment about the EM100 case. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie42feb9b41f435c329bf1c78471e65ef5a3fb783 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59967 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kahlee/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig
index 29edb3053f..c82a20e18c 100644
--- a/src/mainboard/google/kahlee/Kconfig
+++ b/src/mainboard/google/kahlee/Kconfig
@@ -123,12 +123,22 @@ config OEM_BIN_FILE
depends on USE_OEM_BIN
default ""
-if !EM100
+if !EM100 # EM100 defaults in soc/amd/common/blocks/spi/Kconfig
config EFS_SPI_READ_MODE
default 4 # Dual IO (1-2-2)
config EFS_SPI_SPEED
default 0 # 66MHz
+
+config NORMAL_READ_SPI_SPEED
+ default 1 # 33MHz
+
+config ALT_SPI_SPEED
+ default 0 # 66MHz
+
+config TPM_SPI_SPEED
+ default 0 # 66MHz
+
endif
# Don't use AMD's Secure OS