summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/bootm.h
Commit message (Collapse)AuthorAgeFilesLines
* x86: Move kernel boot function to arch/x86/lib/bootm.cSimon Glass2014-10-281-0/+16
| | | | | | | | The boot_zimage() function is badly named it can also boot a raw kernel. Rename it, and try to avoid pointers for memory addresses as it involves lots of casting. Signed-off-by: Simon Glass <sjg@chromium.org>
* x86: Rewrite bootm.c to make it similar to ARMSimon Glass2014-10-221-0/+12
The x86 bootm code is quite special, and geared to zimage. Adjust it to support device tree and make it more like the ARM code, with separate bootm stages and functions for each stage. Create a function announce_and_cleanup() to handle printing the "Starting kernel ..." message and put it in bootm so it is in one place and can be used by any loading code. Also move the board_final_cleanup() function into bootm. Signed-off-by: Simon Glass <sjg@chromium.org>
OpenPOWER on IntegriCloud