summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_bootmgr.c
diff options
context:
space:
mode:
authorPawel Kochanowski <pkochanowski@sii.pl>2025-03-18 10:22:18 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-04-11 13:20:37 +0200
commite8660b23f4929fc787e917f3b5f9cd1d09b93e84 (patch)
tree5c32bfd247719c851e2511d1c68d89a0b683cf8d /lib/efi_loader/efi_bootmgr.c
parent7b269a2bd64aae7fe51f03f8e0b7d50cc9a2faee (diff)
efi: Make FDT extra space configurable
U-Boot currently reserves only 0x3000 bytes when copying the FDT in copy_fdt(), which may not be sufficient if additional nodes (such as FMAN firmware) are added later. This patch uses the exisitng SYS_FDT_PAD to reserve space for FDT fixup instead of hardcoded value. This change prevents potential corruption when resizing FDT after EFI boot, especially when firmware like FMAN requires additional space. Signed-off-by: Gabriel Nesteruk <gnesteruk@sii.pl> Signed-off-by: Pawel Kochanowski <pkochanowski@sii.pl> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_bootmgr.c')
0 files changed, 0 insertions, 0 deletions