Skip to content
Commit cf7aa035 authored by Nikita Shubin's avatar Nikita Shubin Committed by Tom Rini
Browse files

common: spl: ram: fix return code



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: default avatarNikita Shubin <n.shubin@yadro.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent c40e021b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment