blob: ebf2481889c34848be0b34158647a4f60b770090 [file] [log] [blame]
Ard Biesheuvel61bd93c2015-06-01 13:40:32 +02001
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 Biesheuvela7f8de12016-02-16 13:52:42 +010014/*
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 Biesheuvel61bd93c2015-06-01 13:40:32 +020020#endif