1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Copyright (c) 2013, Google Inc. 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * SPDX-License-Identifier: GPL-2.0+ 5*4882a593Smuzhiyun */ 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun #ifndef ARM_BOOTM_H 8*4882a593Smuzhiyun #define ARM_BOOTM_H 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun void bootm_announce_and_cleanup(void); 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun /** 13*4882a593Smuzhiyun * boot_linux_kernel() - boot a linux kernel 14*4882a593Smuzhiyun * 15*4882a593Smuzhiyun * This boots a kernel image, either 32-bit or 64-bit. It will also work with 16*4882a593Smuzhiyun * a self-extracting kernel, if you set @image_64bit to false. 17*4882a593Smuzhiyun * 18*4882a593Smuzhiyun * @setup_base: Pointer to the setup.bin information for the kernel 19*4882a593Smuzhiyun * @load_address: Pointer to the start of the kernel image 20*4882a593Smuzhiyun * @image_64bit: true if the image is a raw 64-bit kernel, false if it 21*4882a593Smuzhiyun * is raw 32-bit or any type of self-extracting kernel 22*4882a593Smuzhiyun * such as a bzImage. 23*4882a593Smuzhiyun * @return -ve error code. This function does not return if the kernel was 24*4882a593Smuzhiyun * booted successfully. 25*4882a593Smuzhiyun */ 26*4882a593Smuzhiyun int boot_linux_kernel(ulong setup_base, ulong load_address, bool image_64bit); 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun #endif 29