[PATCH] x86: Correct regwidth prompt in cbsysinfo

Simon Glass sjg at chromium.org
Sat Apr 24 00:04:57 CEST 2021


This should be 'regwidth', not 'baud'. Fix it.

Signed-off-by: Simon Glass <sjg at 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);
 	}
-- 
2.31.1.498.g6c1eba8ee3d-goog



More information about the U-Boot mailing list