Re: [U-Boot] [PATCH V3 08/13] spl: change return values of spl_*_load_image()

2015-11-05 Thread Simon Glass
On 3 November 2015 at 05:19, 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

[U-Boot] [PATCH V3 08/13] spl: change return values of spl_*_load_image()

2015-11-03 Thread Nikita Kiryanov
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,

Re: [U-Boot] [PATCH V3 08/13] spl: change return values of spl_*_load_image()

2015-11-03 Thread Tom Rini
On Tue, Nov 03, 2015 at 02:19:53PM +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.