[PATCH v2] efi_loader: Add U-Boot memory to the EFI memory map

Tom Rini trini at konsulko.com
Sat Nov 30 18:24:51 CET 2024


On Fri, 29 Nov 2024 19:08:13 +0200, Ilias Apalodimas wrote:

> This reverts commit ("commit a68c9ac5d8af ("efi_memory: do not add U-Boot memory to the memory map")
> This code was removed when the EFI subsystem started using LMB calls for
> the reservations. In hindsight it unearthed two problems.
> 
> The e820 code is adding u-boot memory as EfiReservedMemory while it
> should look at what LMB added and decide instead of blindly overwriting
> it. The reason this worked is that we marked that code properly late,
> when the EFI came up. But now with the LMB changes, the EFI map gets
> added first and the e820 code overwrites it.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list