Skip to contentSkip to conversation

ram: Tighten some ram driver dependencies

PATCH New Tom Rini 1 participant 5 messages Aug 4, 2025 – Aug 14, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 ram: Tighten some ram driver dependencies

A few ram drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well.

---
 drivers/ram/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/ram/Kconfig +3 -3
index edb8e254d5b3..d69644973091 100644
@@ -39,7 +39,7 @@ config VPL_RAM
 
 config STM32_SDRAM
 	bool "Enable STM32 SDRAM support"
-	depends on RAM
+	depends on RAM && ARCH_STM32
 	help
 	  STM32F7 family devices support flexible memory controller(FMC) to
 	  support external memories like sdram, psram & nand.
@@ -47,7 +47,7 @@ config STM32_SDRAM
 
 config MPC83XX_SDRAM
 	bool "Enable MPC83XX SDRAM support"
-	depends on RAM
+	depends on RAM && MPC83xx
 	help
 	  Enable support for the internal DDR Memory Controller of the MPC83xx
 	  family of SoCs. Both static configurations, as well as configuring
@@ -67,7 +67,7 @@ config K3_AM654_DDRSS
 
 config K3_DDRSS
 	bool "Enable K3 DDRSS support"
-	depends on RAM
+	depends on RAM && ARCH_K3
 
 choice
 	depends on K3_DDRSS
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 1/1 remoteproc: Tighten some remoteproc driver dependencies

The TI IPU remoteproc driver cannot build without access to some platform specific header files. Express that requirements in Kconfig as well.

---
 drivers/remoteproc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/remoteproc/Kconfig +1 -0
index a3ecea05e20f..e9f19a694332 100644
@@ -125,6 +125,7 @@ config REMOTEPROC_TI_PRU
 config REMOTEPROC_TI_IPU
 	bool "Support for TI's K3 based IPU remoteproc driver"
 	select REMOTEPROC
+	depends on ARCH_K3
 	depends on DM
 	depends on SPL_DRIVERS_MISC
 	depends on SPL_FS_LOADER
Signature · 1 line
2.43.0
author
#2 lore raw

Re: [PATCH] remoteproc: Tighten some remoteproc driver dependencies

Quoted 5 lines · Tom Rini

The TI IPU remoteproc driver cannot build without access to some platform specific header files. Express that requirements in Kconfig as well.

Applied to u-boot/next, thanks!

[1/1] remoteproc: Tighten some remoteproc driver dependencies

      commit: 548ae9d1a537464254afac63f802179a24c645d6
Signature · 1 line
Tom
author
#3 lore raw

PATCH 1/1 reset: Tighten some reset driver dependencies

In reply to Tom Rini

A few reset drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well.

---
 drivers/reset/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/reset/Kconfig +5 -5
index e92bb8a7c39d..74c267dfc4e5 100644
@@ -74,8 +74,8 @@ config RESET_UNIPHIER
 
 config RESET_AST2500
 	bool "Reset controller driver for AST2500 SoCs"
-	depends on DM_RESET
-	default y if ASPEED_AST2500
+	depends on DM_RESET && ASPEED_AST2500
+	default y
 	help
 	  Support for reset controller on AST2500 SoC.
 	  Say Y if you want to control reset signals of different peripherals
@@ -83,8 +83,8 @@ config RESET_AST2500
 
 config RESET_AST2600
 	bool "Reset controller driver for AST2600 SoCs"
-	depends on DM_RESET
-	default y if ASPEED_AST2600
+	depends on DM_RESET && ASPEED_AST2600
+	default y
 	help
 	  Support for reset controller on AST2600 SoC.
 	  Say Y if you want to control reset signals of different peripherals
@@ -223,7 +223,7 @@ config RESET_ZYNQMP
 
 config RESET_DRA7
 	bool "Support for TI's DRA7 Reset driver"
-	depends on DM_RESET
+	depends on DM_RESET && ARCH_OMAP2PLUS
 	help
 	  Support for TI DRA7-RESET subsystem. Basic Assert/Deassert
 	  is supported.
Signature · 1 line
2.43.0
author
#4 lore raw

Re: [PATCH] reset: Tighten some reset driver dependencies

Quoted 4 lines · Tom Rini

A few reset drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well.

Applied to u-boot/next, thanks!

[1/1] reset: Tighten some reset driver dependencies

      commit: 0ae7725e874a65d86ccdc964048940a490185972
Signature · 1 line
Tom