summaryrefslogtreecommitdiff
path: root/src/console/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/init.c')
-rw-r--r--src/console/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/init.c b/src/console/init.c
index ee64d87cb2..dc727b036d 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -37,8 +37,8 @@ int console_log_level(int msg_level)
void console_init(void)
{
#if !defined(__PRE_RAM__)
- if(get_option(&console_loglevel, "debug_level") != CB_SUCCESS)
- console_loglevel=CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
+ console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
+ get_option(&console_loglevel, "debug_level");
#endif
#if CONFIG_EARLY_PCI_BRIDGE && !defined(__SMM__)