image: Load the correct configuration in fit_check_sign
authorSimon Glass <sjg@chromium.org>
Wed, 18 Mar 2020 17:44:02 +0000 (11:44 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 1 Apr 2020 13:45:09 +0000 (07:45 -0600)
commit8a9d03732e6d0f68107c80919096e7cf956dcb3d
treeccd7325274b0b01ec3f1e21d9e94081fbf4c5f40
parent67acad3db71bb372458fbb8a77749f5eb88aa324
image: Load the correct configuration in fit_check_sign

At present bootm_host_load_images() is passed the configuration that has
been verified, but ignores it and just uses the default configuration.
This may not be the same.

Update this function to use the selected configuration.

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