summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-08-30 11:05:29 -0700
committerWolfgang Denk <wd@denx.de>2009-08-30 21:00:21 +0200
commit52f6c34c85d6c16f2a41433b5000490ecf374992 (patch)
treebe93401ce762cf051dceefff4c0d4b2e1af0c345 /common/console.c
parent28887d831b02c66ccc10d7f1379204b5a62f4543 (diff)
downloadu-boot-52f6c34c85d6c16f2a41433b5000490ecf374992.tar.gz
u-boot-52f6c34c85d6c16f2a41433b5000490ecf374992.tar.bz2
u-boot-52f6c34c85d6c16f2a41433b5000490ecf374992.zip
bugfix CONFIG_SYS_CONSOLE_INFO_QUIET
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>
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index 867c12c102..dc0d13b5a5 100644
--- 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) {