Skip to contentSkip to conversation

spi: Correct dependencies on AIROHA_SNFI_SPI

PATCH In review Tom Rini 1 participant 2 messages Dec 30, 2025 – Jan 6 SPI

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 spi: Correct dependencies on AIROHA_SNFI_SPI

This driver is only possible to build on ARCH_AIROHA, so update the dependencies.

Fixes 6134e4efd432 ("spi: airoha: Add Airoha SPI NAND driver")
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/Kconfig +1 -1
index e31db9d4e31b..63d61ccf8ed2 100644
@@ -61,7 +61,7 @@ config ADI_SPI3
 
 config AIROHA_SNFI_SPI
 	bool "Airoha SPI memory controller driver"
-	depends on SPI_MEM
+	depends on SPI_MEM && ARCH_AIROHA
 	help
 	  Enable the Airoha SPI memory controller driver. This driver is
 	  originally based on the Airoha SNFI IP core. It can only be
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

This driver is only possible to build on ARCH_AIROHA, so update the dependencies.

Applied to u-boot/master, thanks!

[1/1] spi: Correct dependencies on AIROHA_SNFI_SPI

      commit: 03f2be416bbb8a360a2aa4ecbcfc89967944b51d
Signature · 1 line
Tom