[PATCH] loads: Add LMB as a dependency

Tom Rini trini at konsulko.com
Fri Mar 20 21:53:42 CET 2026


As this command calls lmb_alloc_mem directly it must depend on LMB being
enabled.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4077cdce1069..e96b76cc8a86 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1411,6 +1411,7 @@ config CMD_LOADM
 
 config CMD_LOADS
 	bool "loads - Load a file over serial in S-Record format"
+	depends on LMB
 	default y
 	help
 	  Load an S-Record file over serial line
-- 
2.43.0



More information about the U-Boot mailing list