From: Simon Glass Date: Sun, 16 Jul 2023 03:38:42 +0000 (-0600) Subject: x86: Show the CPU physical address size with bdinfo X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=633af11dd65cde0c198f8548585d6610cf4d0655;p=u-boot.git x86: Show the CPU physical address size with bdinfo This is useful information so show it with the bdinfo command. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/lib/bdinfo.c b/arch/x86/lib/bdinfo.c index 15390070fe..a20d095441 100644 --- a/arch/x86/lib/bdinfo.c +++ b/arch/x86/lib/bdinfo.c @@ -22,6 +22,7 @@ void arch_print_bdinfo(void) bdinfo_print_num_l("vendor", gd->arch.x86_vendor); bdinfo_print_str(" name", cpu_vendor_name(gd->arch.x86_vendor)); bdinfo_print_num_l("model", gd->arch.x86_model); + bdinfo_print_num_l("phys_addr in bits", cpu_phys_address_size()); if (IS_ENABLED(CONFIG_EFI_STUB)) efi_show_bdinfo();