On Sun, Nov 08, 2015 at 05:11:49PM +0200, Nikita Kiryanov wrote: > Make spl_*_load_image() functions return a value instead of > hanging if a problem is encountered. This enables main spl code > to make the decision whether to hang or not, thus preparing > it to support alternative boot devices. > > Some boot devices (namely nand and spi) do not hang on error. > Instead, they return normally and SPL proceeds to boot the > contents of the load address. This is considered a bug and > is rectified by hanging on error for these devices as well. > > Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> > Cc: Igor Grinberg <grinb...@compulab.co.il> > Cc: Tom Rini <tr...@konsulko.com> > Cc: Simon Glass <s...@chromium.org> > Cc: Ian Campbell <i...@hellion.org.uk> > Cc: Hans De Goede <hdego...@redhat.com> > Cc: Albert Aribaud <albert.u.b...@aribaud.net> > Cc: Jagan Teki <jt...@openedev.com> > Reviewed-by: Tom Rini <tr...@konsulko.com> > Reviewed-by: Simon Glass <s...@chromium.org>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot