Skip to content

Commit dbb7997

Browse files
RajuRangojubroonie
authored andcommitted
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>
1 parent a573366 commit dbb7997

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/spi/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,8 @@ config SPI_ZYNQMP_GQSPI
12671267
config SPI_AMD
12681268
tristate "AMD SPI controller"
12691269
depends on PCI
1270-
depends on SPI_MASTER || COMPILE_TEST
1270+
depends on SPI_MASTER || X86 || COMPILE_TEST
1271+
depends on SPI_MEM
12711272
help
12721273
Enables SPI controller driver for AMD SoC.
12731274

0 commit comments

Comments
 (0)