]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bugfix CONFIG_SYS_CONSOLE_INFO_QUIET
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 30 Aug 2009 18:05:29 +0000 (11:05 -0700)
committerWolfgang Denk <wd@denx.de>
Sun, 30 Aug 2009 19:00:21 +0000 (21:00 +0200)
The "console: unify printing current devices" patch goofed:
CONFIG_SYS_CONSOLE_INFO_QUIET is supposed to *REMOVE* boot
time noise, not add it.  Said patch changed the #ifndefs
to #ifdef; this one restores them to the proper sense.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
common/console.c

index 867c12c10231cdfc74a35e69e4718d6b4485ff50..dc0d13b5a520837cbb4e7a9c5260de1b51b27747 100644 (file)
@@ -534,7 +534,7 @@ int console_init_f(void)
 
 void stdio_print_current_devices(void)
 {
-#ifdef CONFIG_SYS_CONSOLE_INFO_QUIET
+#ifndef CONFIG_SYS_CONSOLE_INFO_QUIET
        /* Print information */
        puts("In:    ");
        if (stdio_devices[stdin] == NULL) {