]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
lmb: Rework the LMB_ARCH_MEM_MAP symbol
authorTom Rini <trini@konsulko.com>
Mon, 23 Mar 2026 19:52:45 +0000 (13:52 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 Apr 2026 17:32:26 +0000 (11:32 -0600)
This symbol should not be enabled by the user directly but rather
selected when implemented in a given platform. This converts all of the
current users of this feature and hides the symbol.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
lib/Kconfig

index 4c4c070df87bbf352966c48791ff39b2f3197b42..e28e4c4bce73f5991012c5bb62096f21736974cb 100644 (file)
@@ -306,6 +306,7 @@ config X86
        select DM
        select HAVE_ARCH_IOMAP
        select HAVE_PRIVATE_LIBGCC
+       select LMB_ARCH_MEM_MAP
        select OF_CONTROL
        select PCI
        select SUPPORT_ACPI
index 20883fe68250cc7491c251d17e05793f3ac89927..4c5b38e3b6596f8443d163f6f35e0240700586bb 100644 (file)
@@ -382,6 +382,7 @@ menu "Layerscape architecture"
 config FSL_LAYERSCAPE
        bool
        select ARM_SMCCC
+       select LMB_ARCH_MEM_MAP
 
 config HAS_FEATURE_GIC64K_ALIGN
        bool
index 46384283c435e885f7e521cda1a8dd1286d9a19a..4e6a0c6a1b63ef7235838bcc7857db545a855b1a 100644 (file)
@@ -1277,9 +1277,8 @@ config SPL_LMB
          the data structures needed for maintaining the LMB memory map.
 
 config LMB_ARCH_MEM_MAP
-       bool "Add an architecture specific memory map"
+       bool
        depends on LMB
-       depends on !COMPILE_TEST
        default y if FSL_LAYERSCAPE || X86
        help
          Some architectures have special or unique aspects which need