[PATCH] common: spl: ram: fix return code

Tom Rini trini at konsulko.com
Fri Jan 13 01:16:24 CET 2023


On Mon, Dec 12, 2022 at 11:03:35AM +0300, Nikita Shubin wrote:

> From: Nikita Shubin <n.shubin at yadro.com>
> 
> Instead of always retuning success, return actual result of
> load_simple_fit_image or spl_parse_image_header, otherwise we
> might end up jumping on uninitialized spl_image->entry_point.
> 
> Signed-off-by: Nikita Shubin <n.shubin at yadro.com>
> Reviewed-by: Stefan Roese <sr at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230112/b9c3a946/attachment.sig>


More information about the U-Boot mailing list