[U-Boot] [PATCH 2/2] efi_loader: Expose ascending efi memory map

Andreas Färber afaerber at suse.de
Wed Apr 13 14:52:22 CEST 2016


Am 11.04.2016 um 23:51 schrieb Alexander Graf:
> The EFI memory map does not need to be in a strict order, but 32bit
> grub2 does expect it to be ascending. If it's not, it may try to
> allocate memory inside the U-Boot data memory region.
> 
> We already sort the memory map in descending order, so let's just
> reverse it when we pass it to a payload.
> 
> Signed-off-by: Alexander Graf <agraf at suse.de>

Tested-by: Andreas Färber <afaerber at suse.de>

This fixed clearfog for me.

Thanks,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


More information about the U-Boot mailing list