xref: /openbmc/u-boot/arch/x86/include/asm/bootm.h (revision 76539383)
10d0ba59cSSimon Glass /*
20d0ba59cSSimon Glass  * Copyright (c) 2013, Google Inc.
30d0ba59cSSimon Glass  *
40d0ba59cSSimon Glass  * SPDX-License-Identifier:	GPL-2.0+
50d0ba59cSSimon Glass  */
60d0ba59cSSimon Glass 
70d0ba59cSSimon Glass #ifndef ARM_BOOTM_H
80d0ba59cSSimon Glass #define ARM_BOOTM_H
90d0ba59cSSimon Glass 
100d0ba59cSSimon Glass void bootm_announce_and_cleanup(void);
110d0ba59cSSimon Glass 
12*76539383SSimon Glass /**
13*76539383SSimon Glass  * boot_linux_kernel() - boot a linux kernel
14*76539383SSimon Glass  *
15*76539383SSimon Glass  * This boots a kernel image, either 32-bit or 64-bit. It will also work with
16*76539383SSimon Glass  * a self-extracting kernel, if you set @image_64bit to false.
17*76539383SSimon Glass  *
18*76539383SSimon Glass  * @setup_base:		Pointer to the setup.bin information for the kernel
19*76539383SSimon Glass  * @load_address:	Pointer to the start of the kernel image
20*76539383SSimon Glass  * @image_64bit:	true if the image is a raw 64-bit kernel, false if it
21*76539383SSimon Glass  *			is raw 32-bit or any type of self-extracting kernel
22*76539383SSimon Glass  *			such as a bzImage.
23*76539383SSimon Glass  * @return -ve error code. This function does not return if the kernel was
24*76539383SSimon Glass  * booted successfully.
25*76539383SSimon Glass  */
26*76539383SSimon Glass int boot_linux_kernel(ulong setup_base, ulong load_address, bool image_64bit);
27*76539383SSimon Glass 
280d0ba59cSSimon Glass #endif
29