vbe: Support selecting images based on phase in FIT
authorSimon Glass <sjg@chromium.org>
Sun, 26 Jan 2025 18:43:18 +0000 (11:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 3 Feb 2025 22:01:36 +0000 (16:01 -0600)
commit5fb647c83efcfe5dc2aabfdcbfc8b6cdbe3ebedb
tree95a2984fdc8b9a2177f1d4be2ed133511cd4a9d8
parent873112db9ce68c38984ff25808dde726f8dd5573
vbe: Support selecting images based on phase in FIT

With SPL we want to specify the phase of the image to be loaded. Add
support for this.

This is the implementation of a FIT feature added to the spec a few
years ago and entails a small code-size increase, about 70 bytes on
Thumb2.

Signed-off-by: Simon Glass <sjg@chromium.org>
Link: https://docs.u-boot.org/en/latest/usage/fit/index.html
boot/image-fit.c