x86: Move kernel boot function to arch/x86/lib/bootm.c
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 14:21:56 +0000 (08:21 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Oct 2014 02:43:58 +0000 (20:43 -0600)
commit76539383ea0288985dc6216a92e3d7961df958b3
tree20972aa414b45af84a56fcc4d7ec3965df57d705
parent200182a748afd430da97b707dc5dff53c3147b5f
x86: Move kernel boot function to arch/x86/lib/bootm.c

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>
arch/x86/include/asm/bootm.h
arch/x86/include/asm/zimage.h
arch/x86/lib/bootm.c
arch/x86/lib/zimage.c