1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 261bd93ceSArd Biesheuvel 361bd93ceSArd Biesheuvel #ifndef __ASM_BOOT_H 461bd93ceSArd Biesheuvel #define __ASM_BOOT_H 561bd93ceSArd Biesheuvel 687dfb311SMasahiro Yamada #include <linux/sizes.h> 761bd93ceSArd Biesheuvel 861bd93ceSArd Biesheuvel /* 961bd93ceSArd Biesheuvel * arm64 requires the DTB to be 8 byte aligned and 1061bd93ceSArd Biesheuvel * not exceed 2MB in size. 1161bd93ceSArd Biesheuvel */ 1261bd93ceSArd Biesheuvel #define MIN_FDT_ALIGN 8 1361bd93ceSArd Biesheuvel #define MAX_FDT_SIZE SZ_2M 1461bd93ceSArd Biesheuvel 15a7f8de16SArd Biesheuvel /* 16*120dc60dSArd Biesheuvel * arm64 requires the kernel image to placed at a 2 MB aligned base address 17a7f8de16SArd Biesheuvel */ 18a7f8de16SArd Biesheuvel #define MIN_KIMG_ALIGN SZ_2M 19a7f8de16SArd Biesheuvel 2061bd93ceSArd Biesheuvel #endif 21