commit | 096c71e34bac7551aa228bbcb9e1c867ad9e5d07 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 20 21:31:54 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Nov 03 07:20:27 2019 +0800 |
tree | 66ec4eefc5fa0cadd41cfb0cecde66b0a4a212da | |
parent | c52b5e8e2ce7f4cd3a9116083debd27ef23046d7 [diff] |
x86: timer: Set up the timer in timer_early_get_count() This function can be called before the timer is set up. Make sure that the init function is called so that it works correctly. This is needed so that bootstage can work correctly in TPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>