]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Suppress all output with splashscreen configured only if "splashimage"
authordzu <dzu>
Mon, 29 Sep 2003 21:55:54 +0000 (21:55 +0000)
committerdzu <dzu>
Mon, 29 Sep 2003 21:55:54 +0000 (21:55 +0000)
is set

common/console.c

index d933c33519ce559ed8fb86a8f7bd1655af0e80b4..3ef60fd7ac39dd2c6b4b8e02f4b908867280883b 100644 (file)
@@ -488,8 +488,10 @@ int console_init_r (void)
        int i, items = ListNumItems (devlist);
 
 #ifdef CONFIG_SPLASH_SCREEN
-       /* suppress all output if splash screen is enabled */
-       outputdev = search_device (DEV_FLAGS_OUTPUT, "nulldev");
+       /* 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
 
        /* Scan devices looking for input and output devices */