[PATCH v2 04/21] sandbox: Enable SPL_LOAD_BLOCK

Simon Glass sjg at chromium.org
Sat Jul 13 09:00:38 CEST 2024


Enable this option for all sandbox boards so that the FIT-loading code
can be used without generating an error about block devices not being
supported.

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

(no changes since v1)

 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index af43b5f5d3c..970a4a346e4 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -288,6 +288,7 @@ config SPL_BOARD_INIT
 
 config SPL_LOAD_BLOCK
 	bool
+	default y if SANDBOX
 	help
 	  Support loading images from block devices. This adds a bl_len member
 	  to struct spl_load_info.
-- 
2.34.1



More information about the U-Boot mailing list