diff mbox series

[v2,11/22] vbe: Allow VBE to load FITs on any architecture

Message ID 20250116012723.2820301-12-sjg@chromium.org
State Accepted
Commit 91f27b5b0735e6ef18902af12f74d8f357e6dc42
Delegated to: Tom Rini
Headers show
Series vbe: Series part F | expand

Commit Message

Simon Glass Jan. 16, 2025, 1:27 a.m. UTC
At present the VBE implementation is limited to sandbox only. Adjust the
call to fit_image_load() to remove this limitation.

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

(no changes since v1)

 boot/vbe_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/boot/vbe_common.c b/boot/vbe_common.c
index 5f45724f74b..ecf4ad916e0 100644
--- a/boot/vbe_common.c
+++ b/boot/vbe_common.c
@@ -178,7 +178,7 @@  int vbe_read_fit(struct udevice *blk, ulong area_offset, ulong area_size,
 	fit_uname_config = NULL;
 	log_debug("loading FIT\n");
 	ret = fit_image_load(&images, addr, &fit_uname, &fit_uname_config,
-			     IH_ARCH_SANDBOX, image_ph(phase, IH_TYPE_FIRMWARE),
+			     IH_ARCH_DEFAULT, image_ph(phase, IH_TYPE_FIRMWARE),
 			     BOOTSTAGE_ID_FIT_SPL_START, FIT_LOAD_IGNORED,
 			     &load_addr, &len);
 	if (ret < 0)