image: Fix script execution from FIT images with external data
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 16 Feb 2023 15:33:47 +0000 (16:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 14:54:47 +0000 (10:54 -0400)
commite45bba562ff1b273bdff5cc43f7c43fe829b44b4
treebab5dd0257226d6f0d592c11f76dc09cbd7e97e9
parent25eeda170c5e533ca0e3837c8b2d7404cdd749d1
image: Fix script execution from FIT images with external data

Update the script loading code to recognize when script data is stored
externally from the FIT metadata (i.e., built with `mkimage -E`).

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/image-board.c