[PATCH v2 5/8] lmb: Enable LMB if SYS_BOOT_RAMDISK_HIGH

Simon Glass sjg at chromium.org
Thu Mar 2 04:39:26 CET 2023


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 boot/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/Kconfig b/boot/Kconfig
index 7815341ada7..da18d4738a7 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.40.0.rc0.216.gc4246ad0f0-goog



More information about the U-Boot mailing list