vbe: Allow VBE to disable adding loadables to the FDT
authorSimon Glass <sjg@chromium.org>
Sun, 26 Jan 2025 18:43:28 +0000 (11:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 3 Feb 2025 22:01:36 +0000 (16:01 -0600)
commitf4415f2a375c6dab4b8b20a40d4c7ec15f1e951e
tree315c0e3b4159f1759500925f26cced1e3dd5638e
parent39a9b033ceeca65b45917094cc9099a610f0185e
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 <sjg@chromium.org>
boot/vbe_common.c
common/spl/spl_fit.c
include/spl.h