From b33f351a59af63e8798a9bd7425a0cd79c045aca Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 8 Dec 2021 00:12:06 +0100 Subject: 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 Change-Id: Ie42feb9b41f435c329bf1c78471e65ef5a3fb783 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59967 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/mainboard/google/kahlee/Kconfig | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3