[PATCH 1/3] aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500

Tom Rini trini at konsulko.com
Fri Nov 15 17:53:57 CET 2024


It is not the case that we can only pick ASPEED_AST2500 if DM_REGULATOR
is enabled, but rather choosing ASPEED_AST2500 means we must select
DM_REGULATOR.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Maxim Sloyko <maxims at google.com>
---
 arch/arm/mach-aspeed/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
index 1e7dc10e170f..9cf60378c118 100644
--- a/arch/arm/mach-aspeed/Kconfig
+++ b/arch/arm/mach-aspeed/Kconfig
@@ -16,8 +16,8 @@ choice
 
 config ASPEED_AST2500
 	bool "Support Aspeed AST2500 SoC"
-	depends on DM_RESET
 	select CPU_ARM1176
+	select DM_RESET
 	help
 	  The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU.
 	  It is used as Board Management Controller on many server boards,
-- 
2.43.0



More information about the U-Boot mailing list