x86: Add a little more info to cbsysinfo
Show the number of records in the table and the total table size in bytes. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -190,8 +190,9 @@ static void show_table(struct sysinfo_t *info, bool verbose)
|
||||
struct cb_serial *ser = info->serial;
|
||||
int i;
|
||||
|
||||
printf("Coreboot table at %lx, decoded to %p",
|
||||
gd->arch.coreboot_table, info);
|
||||
printf("Coreboot table at %lx, size %x, records %x (dec %d), decoded to %p",
|
||||
gd->arch.coreboot_table, info->table_size, info->rec_count,
|
||||
info->rec_count, info);
|
||||
if (info->header)
|
||||
printf(", forwarded to %p\n", info->header);
|
||||
printf("\n");
|
||||
|
||||
Reference in New Issue
Block a user