]> git.ipfire.org Git - people/ms/u-boot.git/commit
spl: fit: implement fdt_record_loadable
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 13 Sep 2017 19:29:33 +0000 (21:29 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 25 Nov 2017 23:39:07 +0000 (00:39 +0100)
commit9f45aeb937275960405de0f2abca8c665dbb03d4
tree682bf81cb76c04cd6a12c5bb888c99165f358392
parentd879616e9e64cf5a9c43dedc30677aa2fa463d64
spl: fit: implement fdt_record_loadable

During the loading of more complex FIT images (e.g. when the invoked
next stage needs to find additional firmware for a power-management
core... or if there are multiple images for different privilege levels
started in parallel), it is helpful to create a record of what images
are loaded where: if a FDT is loaded for one of the next stages, it
can be used to convey the status and location of loadables.

This adds a fdt_record_loadable() function that can be invoked to
record the status of each loadable below the /fit-images path.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
include/fdt_support.h