soc/amd/common/block/spi: Enable host burst to 4 DWORD when using DMA

Disabling the 4 DWORD bursts causes SPI DMA operations to stall, so
leave it enabled when SPI DMA is used.

BUG=b:194919326
TEST=Build and boot to OS in Guybrush.

Change-Id: I363acdcdb4178a10e4f7eb2bbcbd6d0ca7924f2d
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56683
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2021-07-28 23:41:42 -06:00 committed by Martin Roth
parent 90ac882a32
commit 953f2adb18
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ config PROVIDES_ROM_SHARING
config SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA config SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
bool bool
select X86_CUSTOM_BOOTMEDIA select X86_CUSTOM_BOOTMEDIA
select SOC_AMD_COMMON_BLOCK_SPI_4DW_BURST
depends on !SOC_AMD_PICASSO && !SOC_AMD_STONEYRIDGE depends on !SOC_AMD_PICASSO && !SOC_AMD_STONEYRIDGE
help help
Select this option to enable SPI DMA support. Select this option to enable SPI DMA support.