Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 #ifndef __ASM_BOOT_H
0004 #define __ASM_BOOT_H
0005 
0006 #include <linux/sizes.h>
0007 
0008 /*
0009  * arm64 requires the DTB to be 8 byte aligned and
0010  * not exceed 2MB in size.
0011  */
0012 #define MIN_FDT_ALIGN       8
0013 #define MAX_FDT_SIZE        SZ_2M
0014 
0015 /*
0016  * arm64 requires the kernel image to placed at a 2 MB aligned base address
0017  */
0018 #define MIN_KIMG_ALIGN      SZ_2M
0019 
0020 #endif