diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-06 21:41:50 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-12-15 11:44:10 +0800 |
commit | 642e8487ec629b43b1c5caf846098bfc952be5c0 (patch) | |
tree | 084b06a0418b7b7d3fbd3f43350361d2052ca701 /arch | |
parent | 77dd7c6854f3bd8ddc422f0cb1953071fe00dc6c (diff) |
x86: timer: Reduce timer code size in TPL on Intel CPUs
Most of the timer-calibration methods are not needed on recent Intel CPUs
and just increase code size. Add an option to use the known-good way to
get the clock frequency in TPL. Size reduction is about 700 bytes.
Note that version 1 of this commit caused bootstage to crash since the CPU
was not identified. This is corrected by changes previously applied to
make sure that the CPU is identified before spl_init() is called, such as
39146a2e0b x86: Move CPU init to before spl_init()
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions