cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

boot.h (369B)


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