mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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: 9afaeec6ef
("riscv: Complete efi header for RV32/64")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
5ebb52702e
commit
dfbc2be47e
1 changed files with 0 additions and 10 deletions
|
@ -110,16 +110,6 @@ extra_header_fields:
|
|||
.quad 0 /* ExceptionTable */
|
||||
.quad 0 /* CertificationTable */
|
||||
.quad 0 /* BaseRelocationTable */
|
||||
.quad 0 /* Debug */
|
||||
.quad 0 /* Architecture */
|
||||
.quad 0 /* Global Ptr */
|
||||
.quad 0 /* TLS Table */
|
||||
.quad 0 /* Load Config Table */
|
||||
.quad 0 /* Bound Import */
|
||||
.quad 0 /* IAT */
|
||||
.quad 0 /* Delay Import Descriptor */
|
||||
.quad 0 /* CLR Runtime Header */
|
||||
.quad 0 /* Reserved */
|
||||
|
||||
/* Section table */
|
||||
section_table:
|
||||
|
|
Loading…
Add table
Reference in a new issue