diff options
| author | Francesco Valla <[email protected]> | 2026-06-04 22:41:36 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-17 14:16:41 -0600 |
| commit | 2a70a7e2252ecf01057592bb163a11cd337bcc95 (patch) | |
| tree | 2283caee78ca6c932f02f3ba10dc4c887f4dde36 /common/spl | |
| parent | e50ee1acd4a519cb0320d7227581b7a7841e8a47 (diff) | |
spl: fit: fix loadables load under sandbox
Align the fit_image_load() call done for the loadables to the ones for
other artifatcs (firmware, kernel, fdt), calling virt_to_phys() on the
pointer that contains the FIT location.
This is needed to support the 'sandbox' environment.
Signed-off-by: Francesco Valla <[email protected]>
Diffstat (limited to 'common/spl')
| -rw-r--r-- | common/spl/spl_fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 46ebcabe56a..229eda0582f 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -1024,7 +1024,7 @@ int spl_load_fit_image(struct spl_image_info *spl_image, #ifdef CONFIG_SPL_FIT_SIGNATURE images.verify = 1; #endif - ret = fit_image_load(&images, (ulong)header, + ret = fit_image_load(&images, virt_to_phys((void *)header), &uname, &fit_uname_config, IH_ARCH_DEFAULT, IH_TYPE_LOADABLE, -1, FIT_LOAD_OPTIONAL_NON_ZERO, |
