Skip to contentSkip to conversation

spi: mvebu: Correct dependencies on MVEBU_A3700_SPI

PATCH In review Tom Rini 3 participants 3 messages Jul 2, 2025 – Jul 29, 2025 SPI

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 spi: mvebu: Correct dependencies on MVEBU_A3700_SPI

A dependency exposed by "make allyesconfig" is that the logic around this symbol was not quite correct. It needs to depend on ARCH_MVEBU and ARM64 and then select CLK_MVEBU.

---
Cc: Stefan Roese <[email protected]>

---
 drivers/spi/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/spi/Kconfig +2 -0
index a3513f0a3ef8..1ae36b5a348b 100644
@@ -351,6 +351,8 @@ config MTK_SPIM
 
 config MVEBU_A3700_SPI
 	bool "Marvell Armada 3700 SPI driver"
+	depends on ARCH_MVEBU && ARM64
+	select CLK_MVEBU
 	select CLK_ARMADA_3720
 	help
 	  Enable the Marvell Armada 3700 SPI driver. This driver can be
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Tom Rini

A dependency exposed by "make allyesconfig" is that the logic around this symbol was not quite correct. It needs to depend on ARCH_MVEBU and ARM64 and then select CLK_MVEBU.

Thanks,
Stefan

Quoted 11 lines

---
Cc: Stefan Roese <[email protected]>

---
  drivers/spi/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/spi/Kconfig +0 -0
index a3513f0a3ef8..1ae36b5a348b 100644

drivers/spi/Kconfig config MTK_SPIM · line 358

Quoted 8 lines
drivers/spi/Kconfig +2 -0
@@ -351,6 +351,8 @@ config MTK_SPIM
 
  config MVEBU_A3700_SPI
  	bool "Marvell Armada 3700 SPI driver"
+	depends on ARCH_MVEBU && ARM64
+	select CLK_MVEBU
  	select CLK_ARMADA_3720
  	help
  	  Enable the Marvell Armada 3700 SPI driver. This driver can be

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#2 lore raw
In reply to Tom Rini
Quoted 5 lines · Tom Rini

A dependency exposed by "make allyesconfig" is that the logic around this symbol was not quite correct. It needs to depend on ARCH_MVEBU and ARM64 and then select CLK_MVEBU.

Applied to u-boot-marvell/master

Thanks,
Stefan

Quoted 19 lines

---
Cc: Stefan Roese <[email protected]>

---
  drivers/spi/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/spi/Kconfig +2 -0
index a3513f0a3ef8..1ae36b5a348b 100644
@@ -351,6 +351,8 @@ config MTK_SPIM
 
  config MVEBU_A3700_SPI
  	bool "Marvell Armada 3700 SPI driver"
+	depends on ARCH_MVEBU && ARM64
+	select CLK_MVEBU
  	select CLK_ARMADA_3720
  	help
  	  Enable the Marvell Armada 3700 SPI driver. This driver can be