Simon Glass 33139a0bc7 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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: correct the comments to 960KB]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2020-04-30 17:47:06 +08:00
..
2019-12-15 11:44:16 +08:00
2011-04-13 19:43:28 +10:00
2015-04-29 21:02:33 -06:00
2017-02-06 11:38:46 +08:00
2019-11-03 07:20:27 +08:00
2018-04-16 16:54:51 +08:00
2020-04-30 17:16:12 +08:00
2019-10-08 13:53:54 +08:00
2011-04-13 19:43:28 +10:00
2019-12-15 11:44:14 +08:00
2019-12-15 11:44:29 +08:00
2011-04-13 19:43:28 +10:00
2011-04-13 19:43:28 +10:00