Skip to content
Commit 33139a0b authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

x86: Move coreboot-table detection into common code



To support detecting booting from coreboot, move the code which locates
the coreboot tables into a common place. Adjust the algorithm slightly to
use a word comparison instead of string, since it is faster.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
[bmeng: correct the comments to 960KB]
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent ba974a01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment