summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/majolica
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-08-04 22:45:40 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-08-27 18:26:26 +0000
commit5bdc7c8850fa6c44936dbc91db6e98f74bfe9b30 (patch)
treed224c89c75df4634654e650670a806fc565e4662 /src/mainboard/amd/majolica
parent2d45322639b4bc2796040c7b7417b7a2a45d700b (diff)
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 <felix-coreboot@felixheld.de> Change-Id: I8996c2bf606ccd21686092beac8d96b22c0b7869 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56815 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/majolica')
-rw-r--r--src/mainboard/amd/majolica/Kconfig8
1 files changed, 8 insertions, 0 deletions
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