summaryrefslogtreecommitdiff
path: root/arch/x86/lib/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-17 20:13:35 +0400
committerSimon Glass <sjg@chromium.org>2013-05-14 00:33:20 +0400
commit7949703a9582ec60cf841c595acd3bbe86933cd3 (patch)
treebff2cc44633f3bee735346733574c7fb87deb6c3 /arch/x86/lib/bootm.c
parentc78a62acdfbc0a1cc75ee934f7897b9e99bd3e8d (diff)
downloadu-boot-7949703a9582ec60cf841c595acd3bbe86933cd3.tar.xz
x86: Rationalise kernel booting logic and bootstage
The 'Starting linux' message appears twice in the code, but both call through the same place. Unify these and add calls to bootstage to mark the occasion. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Michael Spang <spang@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86/lib/bootm.c')
-rw-r--r--arch/x86/lib/bootm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c
index 83caf6bdbd..2520228b4c 100644
--- a/arch/x86/lib/bootm.c
+++ b/arch/x86/lib/bootm.c
@@ -93,14 +93,6 @@ int do_bootm_linux(int flag, int argc, char * const argv[],
goto error;
}
-#ifdef DEBUG
- printf("## Transferring control to Linux (at address %08x) ...\n",
- (u32)base_ptr);
-#endif
-
- /* we assume that the kernel is in place */
- printf("\nStarting kernel ...\n\n");
-
boot_zimage(base_ptr, load_address);
/* does not return */