x86: Correct regwidth prompt in cbsysinfo
authorSimon Glass <sjg@chromium.org>
Fri, 23 Apr 2021 22:04:57 +0000 (10:04 +1200)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 10 May 2021 05:56:12 +0000 (13:56 +0800)
This should be 'regwidth', not 'baud'. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/x86/cbsysinfo.c

index a0db0ad..34fdaf5 100644 (file)
@@ -205,7 +205,7 @@ static void show_table(struct sysinfo_t *info, bool verbose)
                print_hex(">type", ser->type);
                print_addr(">base", ser->baseaddr);
                print_dec(">baud", ser->baud);
-               print_hex(">baud", ser->regwidth);
+               print_hex(">regwidth", ser->regwidth);
                print_dec(">input_hz", ser->input_hertz);
                print_addr(">PCI addr", ser->uart_pci_addr);
        }