sandbox: Implement the bootm command for sandbox
authorSimon Glass <sjg@chromium.org>
Sun, 10 Nov 2013 17:27:00 +0000 (10:27 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 9 Jan 2014 00:24:42 +0000 (17:24 -0700)
commit88bd0e9d15d2f7e8c040931b06497878f9ed0550
tree9ed40ab070eae1300f153b2be65ce4cef9a16e71
parent808434cdbd70b6633c99fe2974af7d25316cc593
sandbox: Implement the bootm command for sandbox

When sandbox does a 'bootm' to run a kernel we cannot actually execute it.
So just exit sandbox, which is essentially what U-Boot does on other archs.
Also, allow sandbox to use bootm on any kernel, so that it can be used
to test booting of kernels from any architecture.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c