aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500
Subsystems (3)
PATCH 1/3 aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500
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.
---
Cc: Maxim Sloyko <[email protected]>
--- arch/arm/mach-aspeed/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-aspeed/Kconfig +1 -1
@@ -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,
Signature · 1 line
2.43.0
PATCH 2/3 efi_loader: Fix Kconfig logic around OF_LIBFDT
Given that OF_LIBFDT is library functionality, the feature of EFI_LOADER needs to select OF_LIBFDT rather than depend on it being already enabled.
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
--- lib/efi_loader/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
lib/efi_loader/Kconfig +2 -1
@@ -2,7 +2,7 @@ menu "UEFI Support" config EFI_LOADER bool "Support running UEFI applications" - depends on OF_LIBFDT && ( \ + depends on ( \ ARM && (SYS_CPU = arm1136 || \ SYS_CPU = arm1176 || \ SYS_CPU = armv7 || \
@@ -21,6 +21,7 @@ config EFI_LOADER select EVENT_DYNAMIC select LIB_UUID select LMB + select OF_LIBFDT imply PARTITION_UUIDS select REGEX imply FAT
Signature · 1 line
2.43.0
Re: [PATCH 2/3] efi_loader: Fix Kconfig logic around OF_LIBFDT
Am 15. November 2024 17:53:58 MEZ schrieb Tom Rini <[email protected]>:
Quoted 5 lines
Given that
OF_LIBFDTis library functionality, the feature ofEFI_LOADERneeds to selectOF_LIBFDTrather than depend on it being already enabled.Signed-off-by Tom Rini <[email protected]>
Quoted 28 lines
---
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
---lib/efi_loader/Kconfig| 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)lib/efi_loader/Kconfig +0
-0@@ -2,7 +2,7 @@ menu "UEFI Support"config
EFI_LOADER
bool "Support running UEFI applications"lib/efi_loader/Kconfig +1
-1- depends on OF_LIBFDT && ( \ + depends on ( \ARM && (SYS_CPU = arm1136 || \ SYS_CPU = arm1176 || \ SYS_CPU = armv7 || \lib/efi_loader/Kconfig +1
-0@@ -21,6 +21,7 @@ config EFI_LOADER select EVENT_DYNAMIC select LIB_UUID select LMB + select OF_LIBFDT imply PARTITION_UUIDS select REGEX imply FAT
PATCH 3/3 arm: sunxi: Use "imply" for USB without further guards
In reply to Tom RiniGiven that ARCH_SUNXI already implies that USB_GADGET should be enable, we should also imply USB being enabled.
---
Is this a tiny bit of a cheat to avoid patch 1/8 of Simon's bootstd series? Yes, a little. But it's also correct I believe.
--- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/Kconfig +1 -1
@@ -1177,7 +1177,6 @@ config ARCH_SUNXI select SUNXI_GPIO select SYS_NS16550 select SYS_THUMB_BUILD if !ARM64 - select USB if DISTRO_DEFAULTS select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST select SPL_USE_TINY_PRINTF if SPL
@@ -1203,6 +1202,7 @@ config ARCH_SUNXI imply SYSRESET imply SYSRESET_WATCHDOG imply SYSRESET_WATCHDOG_AUTO + imply USB imply USB_GADGET imply WDT
Signature · 1 line
2.43.0
Re: [PATCH 3/3] arm: sunxi: Use "imply" for USB without further guards
Quoted 9 lines · Tom Rini
Given that
ARCH_SUNXIalready implies thatUSB_GADGETshould be enable, we should also imply USB being enabled.Signed-off-by Tom Rini <[email protected]>---
Is this a tiny bit of a cheat to avoid patch 1/8 of Simon's bootstd series? Yes, a little. But it's also correct I believe.
Quoted 5 lines
Cc Andre Przywara <[email protected]>Cc Simon Glass <[email protected]>--- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(from my side)
Quoted 4 lines · Tom Rini
It is not the case that we can only pick
ASPEED_AST2500ifDM_REGULATORis enabled, but rather choosingASPEED_AST2500means we must selectDM_REGULATOR.
Do you mean DM_RESET instead?
Quoted 7 lines · Fabio Estevam
Quoted 4 lines · Tom Rini
It is not the case that we can only pick
ASPEED_AST2500ifDM_REGULATORis enabled, but rather choosingASPEED_AST2500means we must selectDM_REGULATOR.Do you mean
DM_RESETinstead?
Yes, yes I did, thanks. I'll fixup when applying if there's no need for a v2.
Signature · 1 line
Tom
Quoted 5 lines · Tom Rini
It is not the case that we can only pick
ASPEED_AST2500ifDM_REGULATORis enabled, but rather choosingASPEED_AST2500means we must selectDM_REGULATOR.
Applied to u-boot/next, thanks!
Signature · 1 line
Tom