The LMB module provides allocation/reservation API's, primarily for
loading images to memory. This is functionality which is used by all
boards. Make the config symbol used for the main U-Boot image as
def_bool and enable it by default.

Signed-off-by: Sughosh Ganu <sughosh.g...@linaro.org>
---
Changes since rfc: New patch

 lib/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index 6a9338390a..c7fa4bc77e 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1099,9 +1099,7 @@ 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
+       def_bool y
        help
          Support the library logical memory blocks. This will require
          a malloc() implementation for defining the data structures
-- 
2.34.1

Reply via email to