From 3310d58a60a55c3ad71a775b5033c519906214a5 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 8 Jun 2015 14:31:55 +0200 Subject: console: When switching baudrate print console name Since there may be multiple consoles print the name of the console whose baudrate shall be switched. Signed-off-by: Sascha Hauer --- common/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/console.c') diff --git a/common/console.c b/common/console.c index 7e3be8cad8..0a6fc3e9bf 100644 --- a/common/console.c +++ b/common/console.c @@ -154,8 +154,8 @@ int console_set_baudrate(struct console_device *cdev, unsigned baudrate) * The baudrate of an inactive device will be set at activation time. */ if (cdev->f_active) { - printf("## Switch baudrate to %d bps and press ENTER ...\n", - baudrate); + printf("## Switch baudrate on console %s to %d bps and press ENTER ...\n", + dev_name(&cdev->class_dev), baudrate); mdelay(50); } -- cgit v1.2.3