mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
x86: Show the timestamp counter with bdinfo
Add a line to the 'bdinfo' command which shows the current value of the TSC. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -33,6 +33,8 @@ void arch_print_bdinfo(void)
|
|||||||
bdinfo_print_num_l(" high start", gd->arch.table_start_high);
|
bdinfo_print_num_l(" high start", gd->arch.table_start_high);
|
||||||
bdinfo_print_num_l(" high end", gd->arch.table_end_high);
|
bdinfo_print_num_l(" high end", gd->arch.table_end_high);
|
||||||
|
|
||||||
|
bdinfo_print_num_ll("tsc", rdtsc());
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_EFI_STUB))
|
if (IS_ENABLED(CONFIG_EFI_STUB))
|
||||||
efi_show_bdinfo();
|
efi_show_bdinfo();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user