diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-04-13 22:54:20 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-19 14:45:57 -0600 |
commit | dd2d29a1e1edb37fbaf2905ec6c1db50f6e661c0 (patch) | |
tree | 51c9f390847f379c13e7b6c5ca794aac08903ec7 /arch/sandbox/cpu/cpu.c | |
parent | 85300a9a9dfb364ab1a5f94e6d3f9e558a193be1 (diff) | |
download | u-boot-imx-dd2d29a1e1edb37fbaf2905ec6c1db50f6e661c0.zip u-boot-imx-dd2d29a1e1edb37fbaf2905ec6c1db50f6e661c0.tar.gz u-boot-imx-dd2d29a1e1edb37fbaf2905ec6c1db50f6e661c0.tar.bz2 |
sandbox: Split bootm code out into lib/bootm
Follow the convention of other architectures and move the platform
specific linux bootm code into sandbox/lib/bootm.c.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/cpu.c')
-rw-r--r-- | arch/sandbox/cpu/cpu.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 007ae86..f0dafed 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -49,18 +49,6 @@ unsigned long __attribute__((no_instrument_function)) timer_get_us(void) return os_get_nsec() / 1000; } -int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) -{ - if (flag & (BOOTM_STATE_OS_GO | BOOTM_STATE_OS_FAKE_GO)) { - bootstage_mark(BOOTSTAGE_ID_RUN_OS); - printf("## Transferring control to Linux (at address %08lx)...\n", - images->ep); - reset_cpu(0); - } - - return 0; -} - int cleanup_before_linux(void) { return 0; |