diff options
| author | Simon Glass <[email protected]> | 2025-01-26 11:43:28 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-03 16:01:36 -0600 |
| commit | f4415f2a375c6dab4b8b20a40d4c7ec15f1e951e (patch) | |
| tree | 315c0e3b4159f1759500925f26cced1e3dd5638e /boot | |
| parent | 39a9b033ceeca65b45917094cc9099a610f0185e (diff) | |
vbe: Allow VBE to disable adding loadables to the FDT
When VBE operates within VPL it does not want the FDT to be changed.
Provide a way to disable this feature.
Move the FIT_IMAGE_TINY condition out of spl_fit_record_loadable() so
that both conditions are together. This makes the code easier to
understand.
Replace the existing fit_loaded member, which is no-longer used.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/vbe_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/vbe_common.c b/boot/vbe_common.c index 009bbcd3e76..801ab9da045 100644 --- a/boot/vbe_common.c +++ b/boot/vbe_common.c @@ -208,6 +208,7 @@ int vbe_read_fit(struct udevice *blk, ulong area_offset, ulong area_size, struct spl_load_info info; spl_load_init(&info, h_vbe_load_read, desc, desc->blksz); + xpl_set_fdt_update(&info, false); xpl_set_phase(&info, IH_PHASE_U_BOOT); log_debug("doing SPL from %s blksz %lx log2blksz %x area_offset %lx + fdt_size %lx\n", blk->name, desc->blksz, desc->log2blksz, area_offset, ALIGN(size, 4)); |
