binman: Support multiple images in the library
authorSimon Glass <sjg@chromium.org>
Mon, 28 Sep 2020 00:46:20 +0000 (18:46 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:17 +0000 (14:42 -0600)
commit83187546ae14e266c745c3bb24db492eb5433b89
tree95c7399f48b303507f2a5faa68c4e5dfd81bf586
parentf4f4123708cd3699aa3981afca9511beb760c7fb
binman: Support multiple images in the library

Add support for multiple images, since these are used on x86 now. Select
the first image for now, since that is generally the correct one. At some
point we can add a way to determine which image is currently running.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/binman.c