[v4 3/7] lmb: Enable LMB if SYS_BOOT_RAMDISK_HIGH

Tom Rini trini at konsulko.com
Fri Mar 24 21:58:12 CET 2023


From: Simon Glass <sjg at chromium.org>

Ramdisk relocation requires LMB, so enable it automatically to avoid
build errors.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v4:
None.
---
 boot/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/Kconfig b/boot/Kconfig
index 170ab63f27dc..8fa3181d7e23 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -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.
-- 
2.34.1



More information about the U-Boot mailing list