aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/lib/elf_riscv32_efi.lds
diff options
context:
space:
mode:
authorHeinrich Schuchardt2022-01-09 18:16:11 +0100
committerHeinrich Schuchardt2022-01-15 10:57:21 +0100
commitdfbc2be47edcb5190d161390b50d2dcc5086710e (patch)
tree34fdc60a6c289fef43c5f28080c05931bb5532a2 /arch/riscv/lib/elf_riscv32_efi.lds
parent5ebb52702edeeb2b46699ead31c56a7a5a127b49 (diff)
riscv: revert Complete efi header for RV32/64
EDK II refuses to load the EFI binaries created by U-Boot. The reason is an incorrect PE-COFF header. The number of data directories does not match NumberOfRvaAndSizes. This leads to a failed consistency check in PeCoffLoaderGetPeHeader(): SizeOfOptionalHeader - HeaderWithoutDataDir) != NumberOfRvaAndSizes * sizeof(DATA_DIRECTORY)) Fixes: 9afaeec6ef8b ("riscv: Complete efi header for RV32/64") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'arch/riscv/lib/elf_riscv32_efi.lds')
0 files changed, 0 insertions, 0 deletions