image: Add the concept of a phase to FIT
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:03 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit44ad35a0f699b0b49ef6efaa1405b6f99c703ea8
tree5e747333f41e62e7641ed2d968c14890820359e3
parentb2d93c6aaa99f3f90470c0df3e49bd5ed265d350
image: Add the concept of a phase to FIT

We want to be able to mark an image as related to a phase, so we can
easily load all the images for SPL or for U-Boot proper.

Add this to the FIT specification, along with some access functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/image.c
doc/uImage.FIT/source_file_format.txt
include/image.h
test/boot/Makefile
test/boot/image.c [new file with mode: 0644]