From: dzu Date: Mon, 29 Sep 2003 21:55:54 +0000 (+0000) Subject: Suppress all output with splashscreen configured only if "splashimage" X-Git-Tag: LABEL_2006_03_12_0025~740 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87970ebeb5153bb8650d3f031148e82e30ec3584;p=oweals%2Fu-boot.git Suppress all output with splashscreen configured only if "splashimage" is set --- diff --git a/common/console.c b/common/console.c index d933c33519..3ef60fd7ac 100644 --- a/common/console.c +++ b/common/console.c @@ -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 */