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>
This commit is contained in:
parent
0448644294
commit
ba526393dd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue