* [PATCH 1/1] lmb: always enforce CONFIG_LMB
@ 2025-12-20 8:33 Heinrich Schuchardt
2025-12-20 13:55 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2025-12-20 8:33 UTC (permalink / raw)
To: Tom Rini
Cc: Ilias Apalodimas, Sughosh Ganu, Sam Protsenko, u-boot,
Heinrich Schuchardt
We don't have any platforms left that build without LMB.
Configuring something useful without LMB is difficult.
Always enforce CONFIG_LMB=y.
Move selecting CONFIG_ARCH_MISC_INIT to the `config PPC` definition.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
arch/Kconfig | 1 +
lib/Kconfig | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 4af0da2485f..4b243eb969d 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -155,6 +155,7 @@ config PPC
select SUPPORT_OF_CONTROL
select SYS_BOOT_GET_CMDLINE
select SYS_BOOT_GET_KBD
+ select ARCH_MISC_INIT if LMB
config RISCV
bool "RISC-V architecture"
diff --git a/lib/Kconfig b/lib/Kconfig
index fe0b878a206..f30dfa1748f 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1239,10 +1239,8 @@ config LIB_ELF
This supports for 32 bit and 64 bit versions.
config LMB
- bool "Enable the logical memory blocks library (lmb)"
- default y if ARC || ARM || M68K || MICROBLAZE || MIPS || \
- NIOS2 || PPC || RISCV || SANDBOX || SH || X86 || XTENSA
- select ARCH_MISC_INIT if PPC
+ bool
+ default y
help
Support the library logical memory blocks. This will require
a malloc() implementation for defining the data structures
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-20 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-20 8:33 [PATCH 1/1] lmb: always enforce CONFIG_LMB Heinrich Schuchardt
2025-12-20 13:55 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox