diff mbox series

x86: Correct regwidth prompt in cbsysinfo

Message ID 20210423220458.255445-1-sjg@chromium.org
State Accepted
Commit b8db1c138861b7d35d2206af6a555bab05a096a0
Delegated to: Bin Meng
Headers show
Series x86: Correct regwidth prompt in cbsysinfo | expand

Commit Message

Simon Glass April 23, 2021, 10:04 p.m. UTC
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(-)

Comments

Bin Meng May 10, 2021, 3:03 a.m. UTC | #1
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>
Bin Meng May 10, 2021, 3:04 a.m. UTC | #2
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!
diff mbox series

Patch

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);
 	}