diff options
author | Alexander Graf | 2016-04-11 23:51:02 +0200 |
---|---|---|
committer | Tom Rini | 2016-04-18 17:11:40 -0400 |
commit | cee752fa8dcf3b589baf7141011675a0c3f2ded6 (patch) | |
tree | e8a74ed184d08f71241f386f7acefe37f50f3408 /lib/bitrev.c | |
parent | ad0c1a3d2cea03011091b07e9e066bf261d1556e (diff) |
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/bitrev.c')
0 files changed, 0 insertions, 0 deletions