X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=common%2Fconsole.c;h=d8a0cb6c7e8a1d43e43ad066514e23a72f88327e;hb=ac2731f185ee4b7f56998c8f26d181f66fad84f8;hp=e9f23bec1820f178e3f4a67e3241182a0c65dc9d;hpb=534ff676a9c2ffd460e096754894e78551e4ed1e;p=karo-tx-uboot.git diff --git a/common/console.c b/common/console.c index e9f23bec18..d8a0cb6c7e 100644 --- a/common/console.c +++ b/common/console.c @@ -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 */