loader: remove check for 2M alignment

Instead of listing every arch we support, always define
EFI_STAGING_2M_ALIGN to 1.
This commit is contained in:
Ahmad Khalifa 2024-09-30 20:31:32 +03:00
parent c4b7af5304
commit 78d6582411

View File

@ -178,12 +178,7 @@ out:
#define EFI_STAGING_SIZE DEFAULT_EFI_STAGING_SIZE
#endif
#if defined(__aarch64__) || defined(__amd64__) || defined(__arm__) || \
defined(__riscv) || defined(__i386__)
#define EFI_STAGING_2M_ALIGN 1
#else
#define EFI_STAGING_2M_ALIGN 0
#endif
#if defined(__amd64__) || defined(__i386__)
#define EFI_STAGING_SLOP M(8)