]> Git Repo - J-u-boot.git/commit - arch/x86/cpu/i386/cpu.c
x86: Move coreboot-table detection into common code
authorSimon Glass <[email protected]>
Sun, 26 Apr 2020 15:12:58 +0000 (09:12 -0600)
committerBin Meng <[email protected]>
Thu, 30 Apr 2020 09:47:06 +0000 (17:47 +0800)
commit33139a0bc7645f73f6e7dd152336e1ee00c9d40e
tree0bdce9170a4d567a622f1084c26f97a9ad35f4f1
parentba974a0137edc86cff9727a83cf6be154ab18ef0
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: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
[bmeng: correct the comments to 960KB]
Signed-off-by: Bin Meng <[email protected]>
arch/x86/cpu/coreboot/tables.c
arch/x86/cpu/i386/cpu.c
arch/x86/include/asm/coreboot_tables.h
This page took 0.034516 seconds and 4 git commands to generate.