aboutsummaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-14 21:40:15 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-15 10:57:22 +0100
commit9ef5ccaa712238f4ccd3c55f8a7ae6ca28a5a5bf (patch)
tree1dffd5c549da54da3d08f1be67adc6a0183f9fd9 /disk
parentdfbc2be47edcb5190d161390b50d2dcc5086710e (diff)
downloadu-boot-9ef5ccaa712238f4ccd3c55f8a7ae6ca28a5a5bf.zip
u-boot-9ef5ccaa712238f4ccd3c55f8a7ae6ca28a5a5bf.tar.gz
u-boot-9ef5ccaa712238f4ccd3c55f8a7ae6ca28a5a5bf.tar.bz2
efi_loader: fix SectionAlignment, FileAlignment
The alignment of sections in the EFI binaries generated by U-Boot is incorrect. According to the PE-COFF specification [1] the minimum value for FileAlignment is 512. If the value of SectionAlignment is less then the page size, it must equal FileAlignment. Let's set both values to 512 for the ARM and RISC-V architectures. [1] https://docs.microsoft.com/en-us/windows/win32/debug/pe-format Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions