diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-10-16 19:29:45 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-10-16 19:29:45 +0000 |
commit | 0364618fe86a7e3ad9b9f79105c66cbefdc64ab6 (patch) | |
tree | 6c4de116abbd4e73fadf72dcc7fe8b58cd58f509 /src/console/printk.c | |
parent | 04000f46425da330a14044f2c60c5598b4dfa539 (diff) |
Change console code to emit SPEW with DEFAULT_CONSOLE_LOGLEVEL==8.
Make MAXIMUM_CONSOLE_LOGLEVEL >= DEFAULT_CONSOLE_LOGLEVEL.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4794 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/printk.c')
-rw-r--r-- | src/console/printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/printk.c b/src/console/printk.c index 0485a001da..f4157a7b00 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -32,7 +32,7 @@ int do_printk(int msg_level, const char *fmt, ...) va_list args; int i; - if (msg_level >= console_loglevel) { + if (msg_level > console_loglevel) { return 0; } |