summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-01-26 11:43:17 -0700
committerTom Rini <trini@konsulko.com>2025-02-03 16:01:36 -0600
commit873112db9ce68c38984ff25808dde726f8dd5573 (patch)
tree2fb4b52a9724f54fa997b97ea15734eb5f11fc02 /lib/string.c
parentc38b372f354082c4902c492ee849392c3fd6cd51 (diff)
spl: Support selecting images based on phase in simple FIT
At present the simple FIT-loader always loads images, ignoring whether they are intended for the next phase or not. VBE packages up several images in the same FIT, some destined for VPL and some for SPL. Add logic to check the phase before loading the image. Return -EPERM in that case and handle it gracefully. Fix a unnecessary re-computation of read_offset while here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions