boot.h 369 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_BOOT_H
  3. #define __ASM_BOOT_H
  4. #include <linux/sizes.h>
  5. /*
  6. * arm64 requires the DTB to be 8 byte aligned and
  7. * not exceed 2MB in size.
  8. */
  9. #define MIN_FDT_ALIGN 8
  10. #define MAX_FDT_SIZE SZ_2M
  11. /*
  12. * arm64 requires the kernel image to placed at a 2 MB aligned base address
  13. */
  14. #define MIN_KIMG_ALIGN SZ_2M
  15. #endif