commit | 74cd30ad163ab097fbdcd1419eb8d29370a17be9 | [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 | 0b2f1917f432c1cc509bf8771d12a65c0de5804c [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>