lmb: Enable LMB if SYS_BOOT_RAMDISK_HIGH
authorSimon Glass <sjg@chromium.org>
Fri, 24 Mar 2023 20:58:12 +0000 (16:58 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 27 Mar 2023 15:16:04 +0000 (11:16 -0400)
Ramdisk relocation requires LMB, so enable it automatically to avoid
build errors.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Kconfig

index 170ab63..8fa3181 100644 (file)
@@ -814,6 +814,7 @@ config SYS_BOOT_RAMDISK_HIGH
        depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ
        depends on !(NIOS2 || SANDBOX || SH || XTENSA)
        def_bool y
+       select LMB
        help
          Enable initrd_high functionality.  If defined then the initrd_high
          feature is enabled and the boot* ramdisk subcommand is enabled.