mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
de94db8132
commit
633af11dd6
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue