[PATCH 04/11] x86: Add a few more items to bdinfo
Simon Glass
sjg at chromium.org
Sun Feb 5 20:46:20 CET 2023
Add the timer and vendor/model information.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/lib/bdinfo.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/x86/lib/bdinfo.c b/arch/x86/lib/bdinfo.c
index 0cb79b01bd3..896de37dce4 100644
--- a/arch/x86/lib/bdinfo.c
+++ b/arch/x86/lib/bdinfo.c
@@ -16,6 +16,10 @@ DECLARE_GLOBAL_DATA_PTR;
void arch_print_bdinfo(void)
{
bdinfo_print_num_l("prev table", gd->arch.table);
+ bdinfo_print_num_l("clock_rate", gd->arch.clock_rate);
+ bdinfo_print_num_l("tsc_base", gd->arch.tsc_base);
+ bdinfo_print_num_l("vendor", gd->arch.x86_vendor);
+ bdinfo_print_num_l("model", gd->arch.x86_model);
if (IS_ENABLED(CONFIG_EFI_STUB))
efi_show_bdinfo();
--
2.39.1.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list