[U-Boot] spl: fix calling "spl export .." more than once

Tom Rini trini at konsulko.com
Fri Mar 6 16:47:18 CET 2015


On Tue, Feb 24, 2015 at 07:04:38AM +0100, Heiko Schocher wrote:

> running "spl export ..." more than once fails with:
> 
> Trying to execute a command out of order
> Trying to execute a command out of order
> Trying to execute a command out of order
> Trying to execute a command out of order
> Trying to execute a command out of order
> Trying to execute a command out of order
> ERROR prep subcommand failed!
> Subcommand failed
> 
> reason is commmit:
> 35fc84fa1f: Refactor the bootm command to reduce code duplication
> 
> It used "state != BOOTM_STATE_START" but state is a bitfield, so
> check if the bit BOOTM_STATE_START is not set. With this fix,
> "spl export ..." can called more than once ...
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150306/5a0ca3b6/attachment.sig>


More information about the U-Boot mailing list