[PATCH 1/2] spi: ca_sflash: Remove redundant dependency

Alexander Dahl ada at thorsis.com
Thu Jan 23 08:37:12 CET 2025


This is inside of an 'if DM_SPI' block, and thus always true.

Signed-off-by: Alexander Dahl <ada at thorsis.com>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 96ea033082b..6555142a41e 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -135,7 +135,7 @@ config BCMSTB_SPI
 
 config CORTINA_SFLASH
 	bool "Cortina-Access Serial Flash controller driver"
-	depends on DM_SPI && SPI_MEM
+	depends on SPI_MEM
 	help
 	  Enable the Cortina-Access Serial Flash controller driver. This driver
 	  can be used to access the SPI NOR/NAND flash on platforms embedding this
-- 
2.39.5



More information about the U-Boot mailing list