[U-Boot] [patch] bugfix CONFIG_SYS_CONSOLE_INFO_QUIET

David Brownell david-b at pacbell.net
Sun Aug 30 20:05:29 CEST 2009


From: David Brownell <dbrownell at users.sourceforge.net>

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 at users.sourceforge.net>
---
 common/console.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/common/console.c
+++ b/common/console.c
@@ -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) {


More information about the U-Boot mailing list