Skip to content
Snippets Groups Projects
Commit 87970ebe authored by dzu's avatar dzu
Browse files

Suppress all output with splashscreen configured only if "splashimage"

is set
parent 8a42eac7
No related branches found
No related tags found
No related merge requests found
...@@ -488,8 +488,10 @@ int console_init_r (void) ...@@ -488,8 +488,10 @@ int console_init_r (void)
int i, items = ListNumItems (devlist); int i, items = ListNumItems (devlist);
#ifdef CONFIG_SPLASH_SCREEN #ifdef CONFIG_SPLASH_SCREEN
/* suppress all output if splash screen is enabled */ /* suppress all output if splash screen is enabled and we have
outputdev = search_device (DEV_FLAGS_OUTPUT, "nulldev"); a bmp to display */
if (getenv("splashimage") != NULL)
outputdev = search_device (DEV_FLAGS_OUTPUT, "nulldev");
#endif #endif
/* Scan devices looking for input and output devices */ /* Scan devices looking for input and output devices */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment