diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-10-28 10:15:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-30 10:24:39 +0100 |
commit | ba526393dd7f29e829a2124a092233aad45114e8 (patch) | |
tree | 56646c71709acb714970dc3dbea8a8ece0eb95c8 /common | |
parent | 0448644294093325027b92b2500ee2e4212fa718 (diff) | |
download | barebox-ba526393dd7f29e829a2124a092233aad45114e8.tar.gz barebox-ba526393dd7f29e829a2124a092233aad45114e8.tar.xz |
console: display Switch to console [csxx] when switching from debug_ll to real console
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/console.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c index 2e8c9730e1..fdd5f422dc 100644 --- a/common/console.c +++ b/common/console.c @@ -88,6 +88,9 @@ static int console_std_set(struct device_d *dev, struct param_d *param, if (initialized < CONSOLE_INIT_FULL) { char ch; initialized = CONSOLE_INIT_FULL; + PUTS_LL("Switch to console ["); + PUTS_LL(dev_name(dev)); + PUTS_LL("]\n"); barebox_banner(); while (kfifo_getc(console_output_fifo, &ch) == 0) console_putc(CONSOLE_STDOUT, ch); |