mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
[PATCH] simplify silent console
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
b7598a43f2
commit
4ec5bd55ed
@@ -494,13 +494,7 @@ int console_init_r (void)
|
||||
/* suppress all output if splash screen is enabled and we have
|
||||
a bmp to display */
|
||||
if (getenv("splashimage") != NULL)
|
||||
outputdev = search_device (DEV_FLAGS_OUTPUT, "nulldev");
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SILENT_CONSOLE
|
||||
/* Suppress all output if "silent" mode requested */
|
||||
if (gd->flags & GD_FLG_SILENT)
|
||||
outputdev = search_device (DEV_FLAGS_OUTPUT, "nulldev");
|
||||
gd->flags |= GD_FLG_SILENT;
|
||||
#endif
|
||||
|
||||
/* Scan devices looking for input and output devices */
|
||||
|
Reference in New Issue
Block a user