bdinfo: Show the serial device
Show the name of the serial device with the 'bdinfo' command. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -105,7 +105,8 @@ static void print_serial(struct udevice *dev)
|
||||
if (ret)
|
||||
return;
|
||||
|
||||
lprint_num_l("serial addr", info.addr);
|
||||
lprint_str("serial", dev->name);
|
||||
lprint_num_l(" addr", info.addr);
|
||||
lprint_num_l(" width", info.reg_width);
|
||||
lprint_num_l(" shift", info.reg_shift);
|
||||
lprint_num_l(" offset", info.reg_offset);
|
||||
|
||||
Reference in New Issue
Block a user