mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
87dfb311b7
Since commit dccd2304cc
("ARM: 7430/1: sizes.h: move from asm-generic
to <linux/sizes.h>"), <asm/sizes.h> and <asm-generic/sizes.h> are just
wrappers of <linux/sizes.h>.
This commit replaces all <asm/sizes.h> and <asm-generic/sizes.h> to
prepare for the removal.
Link: http://lkml.kernel.org/r/1553267665-27228-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
22 lines
386 B
C
22 lines
386 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __ASM_BOOT_H
|
|
#define __ASM_BOOT_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/*
|
|
* arm64 requires the DTB to be 8 byte aligned and
|
|
* not exceed 2MB in size.
|
|
*/
|
|
#define MIN_FDT_ALIGN 8
|
|
#define MAX_FDT_SIZE SZ_2M
|
|
|
|
/*
|
|
* arm64 requires the kernel image to placed
|
|
* TEXT_OFFSET bytes beyond a 2 MB aligned base
|
|
*/
|
|
#define MIN_KIMG_ALIGN SZ_2M
|
|
|
|
#endif
|