]> git.baikalelectronics.ru Git - uboot.git/commit
x86: qemu: Support getting high memory size
authorBin Meng <bmeng.cn@gmail.com>
Thu, 29 Aug 2019 09:53:05 +0000 (02:53 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 10 Sep 2019 06:19:39 +0000 (14:19 +0800)
commita08294db058605d3b830fcc825b1e480af1b5d44
treeead0dec3dc4a0c41b7dc3450236020f678e6f5ed
parent09902760a31e1bf108e6cfac6d206a83bea85b1a
x86: qemu: Support getting high memory size

At present only size of memory that is below 4GiB is retrieved from
QEMU. Add a function that gets size of memory that is above 4GiB.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Aiden Park <aiden.park@intel.com>
arch/x86/cpu/qemu/dram.c
arch/x86/include/asm/arch-qemu/qemu.h