commit | 33139a0bc7645f73f6e7dd152336e1ee00c9d40e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 26 09:12:58 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Apr 30 17:47:06 2020 +0800 |
tree | 0bdce9170a4d567a622f1084c26f97a9ad35f4f1 | |
parent | ba974a0137edc86cff9727a83cf6be154ab18ef0 [diff] |
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>