[PATCH v3 6/9] lmb: Enable LMB if SYS_BOOT_RAMDISK_HIGH

Simon Glass sjg at chromium.org
Mon Mar 20 06:47:58 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 7da084312d67..769a78e249c5 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -834,6 +834,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.rc1.284.g88254d51c5-goog



More information about the U-Boot mailing list