浏览代码

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>
Simon Glass 3 年之前
父节点
当前提交
b8db1c1388
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cmd/x86/cbsysinfo.c

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