]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Ensure the e820 map is installed in all cases
authorSimon Glass <sjg@chromium.org>
Sun, 11 Jul 2021 03:15:21 +0000 (21:15 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 15 Jul 2021 11:56:16 +0000 (19:56 +0800)
commit2f91fc40039d2ef6f433d5c56c4f4701975f510f
treeb190ada0a662ab994fe99f46e6f4a49e7497e061
parent4db474aea09ab75644e0c5a63c57d74226be921d
x86: Ensure the e820 map is installed in all cases

This is a revert of a recent logic change in setup_zimage(). We do
actually need to install this information always. Change it to install
from the Coreboot tables if available, else the normal source.

Fixes: e7bae8283fe ("x86: Allow installing an e820 when booting from coreboot")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c