diff options
author | Simon Glass <sjg@chromium.org> | 2023-05-04 16:55:06 -0600 |
---|---|---|
committer | Bin Meng <bmeng@tinylab.org> | 2023-05-11 10:25:29 +0800 |
commit | 2f5210b703355ba8f8d9c441a9b4f23ce3e93133 (patch) | |
tree | aeb33d667c9b51a709028838dc1e6989aa6a2430 /cmd | |
parent | ea45ee1fc3fd3afdf242d5f141cd55df936751e3 (diff) | |
download | u-boot-2f5210b703355ba8f8d9c441a9b4f23ce3e93133.zip u-boot-2f5210b703355ba8f8d9c441a9b4f23ce3e93133.tar.gz u-boot-2f5210b703355ba8f8d9c441a9b4f23ce3e93133.tar.bz2 |
x86: coreboot: Show unimplemented sysinfo tags
Sometimes coreboot adds new tags that U-Boot does not know about. These
are silently ignored, but it is useful to at least know what we are
missing.
Add a way to collect this information. For Brya it shows:
Unimpl. 38 41 37 34 42 40
These are:
LB_TAG_PLATFORM_BLOB_VERSION
LB_TAG_ACPI_CNVS
LB_TAG_FMAP
LB_TAG_VBOOT_WORKBUF
LB_TAG_TYPE_C_INFO
LB_TAG_BOARD_CONFIG
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/x86/cbsysinfo.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/x86/cbsysinfo.c b/cmd/x86/cbsysinfo.c index 07570b0..2b8d3b0 100644 --- a/cmd/x86/cbsysinfo.c +++ b/cmd/x86/cbsysinfo.c @@ -364,6 +364,14 @@ static void show_table(struct sysinfo_t *info, bool verbose) print_ptr("Chrome OS VPD", info->chromeos_vpd); print_ptr("RSDP", info->rsdp); + printf("%-12s: ", "Unimpl."); + if (info->unimpl_count) { + for (i = 0; i < info->unimpl_count; i++) + printf("%02x ", info->unimpl[i]); + printf("\n"); + } else { + printf("(none)\n"); + } } static int do_cbsysinfo(struct cmd_tbl *cmdtp, int flag, int argc, |