Skip to content

Commit

Permalink
arm64/efi: set EFI_ALLOC_ALIGN to 64 KB
Browse files Browse the repository at this point in the history
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: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
  • Loading branch information
Ard Biesheuvel committed Jan 12, 2015
1 parent cf2b0f1 commit 1bd0abb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/include/asm/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ extern void efi_idmap_init(void);

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

#define EFI_ALLOC_ALIGN SZ_64K

#endif /* _ASM_EFI_H */

0 comments on commit 1bd0abb

Please sign in to comment.