x86: efi: payload: Count in conventional memory above 4GB in DRAM bank
authorBin Meng <bmeng.cn@gmail.com>
Fri, 22 Jun 2018 08:38:30 +0000 (01:38 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jun 2018 00:56:25 +0000 (08:56 +0800)
commit598374729e6b3f3070e06bdf2990dd8d10cddbda
tree70a507e2a9cc789953d378a8c36dad82515c7f31
parent1ffa447b8c8fd84937f41f5084ac802136773357
x86: efi: payload: Count in conventional memory above 4GB in DRAM bank

At present in dram_init_banksize() it ignores conventional memory
above 4GB. This leads to wrong DRAM size is printed during boot.
Remove such limitation.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/efi/payload.c