diff options
| author | Tom Rini <[email protected]> | 2025-08-04 15:57:17 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-28 12:52:56 -0600 |
| commit | a5e6bc86ab5701b2b10cdc684acbfe87f781d8bb (patch) | |
| tree | 4f169a971533c14aed51ad0b0350ac42fc414e8d | |
| parent | f30b6d12da1db7df7fec7c5927354514f3dc16b7 (diff) | |
spi: Tighten some spi driver dependencies
A few spi drivers cannot build without access to some platform
specific header files. Express those requirements in Kconfig as well.
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | drivers/spi/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 2960822211a..c88918606d2 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -452,6 +452,7 @@ config ROCKCHIP_SFC config ROCKCHIP_SPI bool "Rockchip SPI driver" + depends on ARCH_ROCKCHIP help Enable the Rockchip SPI driver, used to access SPI NOR flash and other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs. @@ -495,7 +496,7 @@ config SANDBOX_SPI_MAX_CS config SPI_ASPEED_SMC bool "ASPEED SPI flash controller driver" - depends on DM_SPI && SPI_MEM + depends on DM_SPI && SPI_MEM && ARCH_ASPEED help Enable ASPEED SPI flash controller driver for AST2500 and AST2600 SoCs. @@ -622,6 +623,7 @@ config ZYNQ_SPI config ZYNQ_QSPI bool "Zynq QSPI driver" + depends on ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2 || ARCH_ZYNQ || ARCH_ZYNQMP imply SPI_FLASH_BAR help Enable the Zynq Quad-SPI (QSPI) driver. This driver can be @@ -631,6 +633,7 @@ config ZYNQ_QSPI config ZYNQMP_GQSPI bool "Configure ZynqMP Generic QSPI" + depends on ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2 || ARCH_ZYNQ || ARCH_ZYNQMP help This option is used to enable ZynqMP QSPI controller driver which is used to communicate with qspi flash devices. |
