* [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
* Re: [PATCH 1/1] lmb: always enforce CONFIG_LMB
2025-12-20 8:33 [PATCH 1/1] lmb: always enforce CONFIG_LMB Heinrich Schuchardt
@ 2025-12-20 13:55 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2025-12-20 13:55 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Ilias Apalodimas, Sughosh Ganu, Sam Protsenko, u-boot
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]
On Sat, Dec 20, 2025 at 09:33:43AM +0100, Heinrich Schuchardt wrote:
> We don't have any platforms left that build without LMB.
We have a handful of platforms that don't enable LMB:
$ ./tools/qconfig.py -f ~LMB
22 matches
amd_versal2_mini amd_versal2_mini_emmc amd_versal2_mini_ospi
amd_versal2_mini_qspi xilinx_versal_mini xilinx_versal_mini_emmc0
xilinx_versal_mini_emmc1 xilinx_versal_mini_ospi xilinx_versal_mini_qspi
xilinx_versal_net_mini xilinx_versal_net_mini_emmc
xilinx_versal_net_mini_ospi xilinx_versal_net_mini_qspi
xilinx_zynqmp_mini xilinx_zynqmp_mini_emmc0 xilinx_zynqmp_mini_emmc1
xilinx_zynqmp_mini_nand xilinx_zynqmp_mini_nand_single
xilinx_zynqmp_mini_qspi zynq_cse_nand zynq_cse_nor zynq_cse_qspi
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [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