]> git.sur5r.net Git - u-boot/commit
sandbox: Don't exit when bootm completes
authorSimon Glass <sjg@chromium.org>
Sun, 3 Jul 2016 15:40:35 +0000 (09:40 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:32 +0000 (18:22 -0400)
commitb9c771b04c215de981987a92d5e1f016c8dd1921
treef7c5aa8b23d82160b9017bbcb85a1985446b1ee4
parent07f4eadc99b365fa92114f19c02218ff39c45ed9
sandbox: Don't exit when bootm completes

At present sandbox exits when the 'bootm' command completes, since it is not
actually able to run the OS that is loaded. Normally 'bootm' failure is
considered a fatal error in U-Boot.

However this is annoying for tests, which may want to examine the state
after a test is complete. In any case there is a 'reset' command which can
be used to exit, if required.

Change the behaviour to return normally from the 'bootm' command on sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Teddy Reed <teddy.reed@gmail.com>
arch/sandbox/lib/bootm.c
common/bootm_os.c