mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
x86: timer: use a timer base of 0
On x86 platforms the timer is reset to 0 when the SoC is reset. Having this as the timer base is useful since it provides an indication of how long it takes before U-Boot is running. When U-Boot sets the timer base to something else, time is lost and we no-longer have an accurate account of the time since reset. This particularly affects bootstage. Change the default to not read the timer base, leaving it at 0. Add an option for when U-Boot is the secondary bootloader. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
config EFI
|
||||
bool "Support running U-Boot from EFI"
|
||||
depends on X86
|
||||
imply X86_TSC_READ_BASE
|
||||
help
|
||||
U-Boot can be started from EFI on certain platforms. This allows
|
||||
EFI to perform most of the system init and then jump to U-Boot for
|
||||
|
Reference in New Issue
Block a user