1168404Spjd/* SPDX-License-Identifier: GPL-2.0 */
2168404Spjd
3168404Spjd#ifndef __ASM_BOOT_H
4168404Spjd#define __ASM_BOOT_H
5168404Spjd
6168404Spjd#include <linux/sizes.h>
7168404Spjd
8168404Spjd/*
9168404Spjd * arm64 requires the DTB to be 8 byte aligned and
10168404Spjd * not exceed 2MB in size.
11168404Spjd */
12168404Spjd#define MIN_FDT_ALIGN		8
13168404Spjd#define MAX_FDT_SIZE		SZ_2M
14168404Spjd
15168404Spjd/*
16168404Spjd * arm64 requires the kernel image to placed at a 2 MB aligned base address
17168404Spjd */
18168404Spjd#define MIN_KIMG_ALIGN		SZ_2M
19168404Spjd
20168404Spjd#endif
21168404Spjd