From: Tom Rini Date: Thu, 21 Apr 2016 07:22:51 -0400 Subject: [U-Boot] [U-Boot, 2/2] efi_loader: Expose ascending efi memory map In-Reply-To: <1460411462-72288-2-git-send-email-agraf@suse.de> References: <1460411462-72288-2-git-send-email-agraf@suse.de> Message-ID: <20160421112251.GI3732@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Apr 11, 2016 at 11:51:02PM +0200, Alexander Graf wrote: > 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 > Tested-by: Andreas F?rber Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: