x86: efi_loader: Use efi_add_conventional_memory_map()
authorPark, Aiden <aiden.park@intel.com>
Tue, 3 Sep 2019 17:43:46 +0000 (17:43 +0000)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 10 Sep 2019 06:31:42 +0000 (14:31 +0800)
commit5793553fa24077e3b91028f8097fb1fdbede1480
tree53e6c509013abc10386289fedfe08ad184f318bf
parent74b76357dfd75550cd9a511e71990d414a4d023e
x86: efi_loader: Use efi_add_conventional_memory_map()

Use efi_add_conventional_memory_map() to configure EFI conventional memory
properly with ram_top value. This will give 32-bit mode U-Boot proper
conventional memory regions even if e820 has an entry which is greater than
32-bit address space.

Signed-off-by: Aiden Park <aiden.park@intel.com>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[bmeng: fixed some typos in the commit message]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/e820.c