[PATCH] x86: Correct regwidth prompt in cbsysinfo

This should be 'regwidth', not 'baud'. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org ---
cmd/x86/cbsysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/x86/cbsysinfo.c b/cmd/x86/cbsysinfo.c index a0db0ad364e..34fdaf5b1b1 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); }

On Sat, Apr 24, 2021 at 6:05 AM Simon Glass sjg@chromium.org wrote:
This should be 'regwidth', not 'baud'. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org
cmd/x86/cbsysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Mon, May 10, 2021 at 11:03 AM Bin Meng bmeng.cn@gmail.com wrote:
On Sat, Apr 24, 2021 at 6:05 AM Simon Glass sjg@chromium.org wrote:
This should be 'regwidth', not 'baud'. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org
cmd/x86/cbsysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Simon Glass