Attention is currently required from: Jason Glenesk, Marshall Dawson, Felix Held. Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59130 )
Change subject: soc/amd/common/block/lpc: Set FSP-S/M alignment to 64 when using SPI DMA ......................................................................
soc/amd/common/block/lpc: Set FSP-S/M alignment to 64 when using SPI DMA
This will enable reading FSP-S/M using the SPI DMA controller.
BUG=B:179699789 TEST=Build guybrush with SPI DMA enabled and verify alignment is set
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: I282b9989d8e95c93603c6f69616a8f236a4e2e35 --- M src/soc/amd/common/block/lpc/Kconfig 1 file changed, 9 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/59130/1
diff --git a/src/soc/amd/common/block/lpc/Kconfig b/src/soc/amd/common/block/lpc/Kconfig index 76f4ec7..6419269 100644 --- a/src/soc/amd/common/block/lpc/Kconfig +++ b/src/soc/amd/common/block/lpc/Kconfig @@ -16,12 +16,20 @@ help Select this option to enable SPI DMA support.
-# The LPC SPI DMA controller requires the destination buffers to be 64 byte +# The LPC SPI DMA controller requires the source and destination to be 64 byte # aligned. config CBFS_CACHE_ALIGN int default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
+config FSP_ALIGNMENT_FSP_S + int + default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA + +config FSP_ALIGNMENT_FSP_M + int + default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA + config SOC_AMD_COMMON_BLOCK_HAS_ESPI bool help