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>
Showing
- arch/x86/include/asm/bootm.h 16 additions, 0 deletionsarch/x86/include/asm/bootm.h
- arch/x86/include/asm/zimage.h 1 addition, 3 deletionsarch/x86/include/asm/zimage.h
- arch/x86/lib/bootm.c 38 additions, 10 deletionsarch/x86/lib/bootm.c
- arch/x86/lib/zimage.c 8 additions, 35 deletionsarch/x86/lib/zimage.c
Loading
Please register or sign in to comment