From 5bdc7c8850fa6c44936dbc91db6e98f74bfe9b30 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 4 Aug 2021 22:45:40 +0200 Subject: [PATCH] mb/amd/majolica/Kconfig: add EFS SPI settings This keeps the default of EFS_SPI_SPEED at 66.66Mhz for the non-EM100 case, but switches the EFS_SPI_READ_MODE setting from Dual IO (1-1-2) to Quad IO (1-1-4) for the non-EM100 case. This patch adds a special config for the EM100 emulator case that has limited SPI frequency support. Tested on Majolica by Martin. Signed-off-by: Felix Held Change-Id: I8996c2bf606ccd21686092beac8d96b22c0b7869 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56815 Reviewed-by: Karthik Ramasubramanian Tested-by: build bot (Jenkins) --- src/mainboard/amd/majolica/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mainboard/amd/majolica/Kconfig b/src/mainboard/amd/majolica/Kconfig index 7d5b30a1cd..0c3f7df8b2 100644 --- a/src/mainboard/amd/majolica/Kconfig +++ b/src/mainboard/amd/majolica/Kconfig @@ -53,4 +53,12 @@ config CHROMEOS # Use default libpayload config select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE +config EFS_SPI_READ_MODE + default 0 if EM100 # Normal read mode + default 3 # Quad IO (1-1-4) + +config EFS_SPI_SPEED + default 3 if EM100 # 16.66 MHz + default 0 # 66.66 MHz + endif # BOARD_AMD_MAJOLICA