diff options
author | Raju Rangoju <Raju.Rangoju@amd.com> | 2025-05-16 15:36:58 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-19 13:13:38 +0100 |
commit | dbb79974193a2932e828ebbd216efb428c81dc63 (patch) | |
tree | 9e084bc80adca83a74def883233380d5b9d90810 /drivers | |
parent | a5733666c775eb852409261d7a6363883d97ff93 (diff) |
spi: spi_amd: Update Kconfig dependencies
Add X86 and SPI_MEM as dependencies for the spi_amd driver to ensure it is
built only on relevant platforms and with the required SPI memory
framework.
Co-developed-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20250516100658.585654-4-Raju.Rangoju@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b03a7005f1bd..c51da3fc3604 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -1267,7 +1267,8 @@ config SPI_ZYNQMP_GQSPI config SPI_AMD tristate "AMD SPI controller" depends on PCI - depends on SPI_MASTER || COMPILE_TEST + depends on SPI_MASTER || X86 || COMPILE_TEST + depends on SPI_MEM help Enables SPI controller driver for AMD SoC. |