x86: Rationalise kernel booting logic and bootstage
authorSimon Glass <sjg@chromium.org>
Wed, 17 Apr 2013 16:13:35 +0000 (16:13 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 13 May 2013 20:33:20 +0000 (13:33 -0700)
commit7949703a9582ec60cf841c595acd3bbe86933cd3
treebff2cc44633f3bee735346733574c7fb87deb6c3
parentc78a62acdfbc0a1cc75ee934f7897b9e99bd3e8d
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>
arch/x86/cpu/cpu.c
arch/x86/lib/bootm.c
arch/x86/lib/zimage.c