1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 20d0ba59cSSimon Glass /* 30d0ba59cSSimon Glass * Copyright (c) 2013, Google Inc. 40d0ba59cSSimon Glass */ 50d0ba59cSSimon Glass 60d0ba59cSSimon Glass #ifndef ARM_BOOTM_H 70d0ba59cSSimon Glass #define ARM_BOOTM_H 80d0ba59cSSimon Glass 90d0ba59cSSimon Glass void bootm_announce_and_cleanup(void); 100d0ba59cSSimon Glass 1176539383SSimon Glass /** 1276539383SSimon Glass * boot_linux_kernel() - boot a linux kernel 1376539383SSimon Glass * 1476539383SSimon Glass * This boots a kernel image, either 32-bit or 64-bit. It will also work with 1576539383SSimon Glass * a self-extracting kernel, if you set @image_64bit to false. 1676539383SSimon Glass * 1776539383SSimon Glass * @setup_base: Pointer to the setup.bin information for the kernel 1876539383SSimon Glass * @load_address: Pointer to the start of the kernel image 1976539383SSimon Glass * @image_64bit: true if the image is a raw 64-bit kernel, false if it 2076539383SSimon Glass * is raw 32-bit or any type of self-extracting kernel 2176539383SSimon Glass * such as a bzImage. 2276539383SSimon Glass * @return -ve error code. This function does not return if the kernel was 2376539383SSimon Glass * booted successfully. 2476539383SSimon Glass */ 2576539383SSimon Glass int boot_linux_kernel(ulong setup_base, ulong load_address, bool image_64bit); 2676539383SSimon Glass 270d0ba59cSSimon Glass #endif 28