Ard Biesheuvel | 61bd93c | 2015-06-01 13:40:32 +0200 | [diff] [blame] | 1 | |
| 2 | #ifndef __ASM_BOOT_H |
| 3 | #define __ASM_BOOT_H |
| 4 | |
| 5 | #include <asm/sizes.h> |
| 6 | |
| 7 | /* |
| 8 | * arm64 requires the DTB to be 8 byte aligned and |
| 9 | * not exceed 2MB in size. |
| 10 | */ |
| 11 | #define MIN_FDT_ALIGN 8 |
| 12 | #define MAX_FDT_SIZE SZ_2M |
| 13 | |
Ard Biesheuvel | a7f8de1 | 2016-02-16 13:52:42 +0100 | [diff] [blame] | 14 | /* |
| 15 | * arm64 requires the kernel image to placed |
| 16 | * TEXT_OFFSET bytes beyond a 2 MB aligned base |
| 17 | */ |
| 18 | #define MIN_KIMG_ALIGN SZ_2M |
| 19 | |
Ard Biesheuvel | 61bd93c | 2015-06-01 13:40:32 +0200 | [diff] [blame] | 20 | #endif |