console: add warning message if slient console is enabled
Change-Id: Ibc50e9bc19c77bb688a0312c1d1290250a9b6a2f Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
541f90ebf1
commit
c2304c02b1
|
|
@ -666,10 +666,12 @@ int console_assign(int file, const char *devname)
|
|||
static void console_update_silent(void)
|
||||
{
|
||||
#ifdef CONFIG_SILENT_CONSOLE
|
||||
if (env_get("silent") != NULL)
|
||||
if (env_get("silent") != NULL) {
|
||||
printf("U-Boot: enable slient console\n");
|
||||
gd->flags |= GD_FLG_SILENT;
|
||||
else
|
||||
} else {
|
||||
gd->flags &= ~GD_FLG_SILENT;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue