FIT: Let user specify the configuration to use
The images in FIT images can be opened in two different ways. They
can be either opened directly based on their names in the images/
node or as part of a configuration based on their names in the
corresponding /configuration/ node.

So far we only supported the latter. To prepare supporting the former
we return a cookie belonging to the configuration from
fit_open_configuration() which we use in fit_open_image() to refer
to the desired configuration.

While at it document fit_open_configuration().

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ea76b40 commit d2411eaf76ef52f2ccf7f3e39226082fbdd3dcd1
@Sascha Hauer Sascha Hauer authored on 29 Jan 2018
Showing 4 changed files
View
common/bootm.c
View
common/image-fit.c
View
include/bootm.h
View
include/image-fit.h