commit | caca13f60a526349a00fcc316bd3c0d903b2cd7c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:41:51 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:10 2019 +0800 |
tree | 3ef50991f9337c3bffeaca851374beb0650292d0 | |
parent | 642e8487ec629b43b1c5caf846098bfc952be5c0 [diff] |
x86: Drop unnecessary cpu code for TPL We don't need to know every detail about the CPU in TPL. Drop some superfluous functions to reduce code size. Add a simple CPU detection algorithm which just supports Intel and AMD, since we only support TPL on Intel, so far. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>