OSDN Git Service

efi/libstub/arm: Relax FDT alignment requirement
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:33 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commit184d7e0d7d6ea140fdc3c644b4c466505cfb1654
tree20e1b1591ca9667156436a04e654f0edaa4f44ef
parent6f05106e20f0ed26a2dbd6a5d44a302ce81642e0
efi/libstub/arm: Relax FDT alignment requirement

The arm64 kernel no longer requires the FDT blob to fit inside a
naturally aligned 2 MB memory block, so remove the code that aligns
the allocation to 2 MB.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm64/include/asm/efi.h
drivers/firmware/efi/libstub/fdt.c