]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spi: Correct dependencies on AIROHA_SNFI_SPI
authorTom Rini <trini@konsulko.com>
Tue, 30 Dec 2025 17:10:38 +0000 (11:10 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jan 2026 17:23:13 +0000 (11:23 -0600)
This driver is only possible to build on ARCH_AIROHA, so update the
dependencies.

Fixes: 6134e4efd432 ("spi: airoha: Add Airoha SPI NAND driver")
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/spi/Kconfig

index e31db9d4e31b60dbc176e3f35b0cad56c4b74a9d..63d61ccf8ed2c151e5f26a92b043937ce1d284b6 100644 (file)
@@ -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