aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-04-24 10:04:57 +1200
committerBin Meng <bmeng.cn@gmail.com>2021-05-10 13:56:12 +0800
commitb8db1c138861b7d35d2206af6a555bab05a096a0 (patch)
tree05e8c866f47c975c054b5c6389d398859117d9b3 /cmd
parent07b53103b7a6c228ae8b74ae720b9c5d219ee7fd (diff)
x86: Correct regwidth prompt in cbsysinfo
This should be 'regwidth', not 'baud'. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/x86/cbsysinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/x86/cbsysinfo.c b/cmd/x86/cbsysinfo.c
index a0db0ad364..34fdaf5b1b 100644
--- a/cmd/x86/cbsysinfo.c
+++ b/cmd/x86/cbsysinfo.c
@@ -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);
}