9
0
Fork 0

Suppress all output with splashscreen configured only if "splashimage"

is set
This commit is contained in:
dzu 2003-09-29 21:55:54 +00:00
parent 8a42eac744
commit 87970ebeb5
1 changed files with 4 additions and 2 deletions

View 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 */