Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bd0abb0 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

arm64/efi: set EFI_ALLOC_ALIGN to 64 KB



Set EFI_ALLOC_ALIGN to 64 KB so that all allocations done by the stub
are naturally compatible with a 64 KB granule kernel.

Acked-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Tested-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent cf2b0f10
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -44,4 +44,6 @@ extern void efi_idmap_init(void);


#define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
#define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)


#define EFI_ALLOC_ALIGN		SZ_64K

#endif /* _ASM_EFI_H */
#endif /* _ASM_EFI_H */