aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/lpc/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/lpc/Kconfig b/src/soc/amd/common/block/lpc/Kconfig
index 76f4ec7ac3..64192695c6 100644
--- a/src/soc/amd/common/block/lpc/Kconfig
+++ b/src/soc/amd/common/block/lpc/Kconfig
@@ -16,12 +16,20 @@ config SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
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