diff options
author | Alexander Graf <agraf@suse.de> | 2016-04-12 00:51:02 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-19 00:11:40 +0300 |
commit | cee752fa8dcf3b589baf7141011675a0c3f2ded6 (patch) | |
tree | e8a74ed184d08f71241f386f7acefe37f50f3408 /lib/ldiv.c | |
parent | ad0c1a3d2cea03011091b07e9e066bf261d1556e (diff) | |
download | u-boot-cee752fa8dcf3b589baf7141011675a0c3f2ded6.tar.xz |
efi_loader: Expose ascending efi memory map
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@suse.de>
Tested-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'lib/ldiv.c')
0 files changed, 0 insertions, 0 deletions