summaryrefslogtreecommitdiff
path: root/src/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/console.c')
-rw-r--r--src/console/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/console.c b/src/console/console.c
index af790de217..78823afdb5 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -15,7 +15,7 @@ void console_init(void)
{
struct console_driver *driver;
if(get_option(&console_loglevel, "debug_level"))
- console_loglevel=DEFAULT_CONSOLE_LOGLEVEL;
+ console_loglevel=CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
for(driver = console_drivers; driver < econsole_drivers; driver++) {
if (!driver->init)
@@ -83,7 +83,7 @@ int console_tst_byte(void)
*/
void post_code(uint8_t value)
{
-#if !defined(NO_POST) || NO_POST==0
+#if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0
#if CONFIG_SERIAL_POST==1
printk_emerg("POST: 0x%02x\n", value);
#endif