aspeed: Fix Kconfig logic on "DM_RESET" and ASPEED_AST2500
authorTom Rini <trini@konsulko.com>
Fri, 15 Nov 2024 16:53:57 +0000 (10:53 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2024 20:00:30 +0000 (14:00 -0600)
It is not the case that we can only pick ASPEED_AST2500 if DM_RESET
is enabled, but rather choosing ASPEED_AST2500 means we must select
DM_RESET.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-aspeed/Kconfig

index 1e7dc10..9cf6037 100644 (file)
@@ -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,