treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / include / asm / boot.h
blobc7f67da13cd99ae677db63f5f19f5e118c64a202
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_BOOT_H
4 #define __ASM_BOOT_H
6 #include <linux/sizes.h>
8 /*
9 * arm64 requires the DTB to be 8 byte aligned and
10 * not exceed 2MB in size.
12 #define MIN_FDT_ALIGN 8
13 #define MAX_FDT_SIZE SZ_2M
16 * arm64 requires the kernel image to placed
17 * TEXT_OFFSET bytes beyond a 2 MB aligned base
19 #define MIN_KIMG_ALIGN SZ_2M
21 #endif