summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/console/console.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index 6d1b01acdd..aa5273fc9b 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -40,18 +40,10 @@ struct console_driver {
/* Defined by the linker... */
extern struct console_driver console_drivers[];
extern struct console_driver econsole_drivers[];
-
-extern int console_loglevel;
-#else
-/* __PRE_RAM__ */
-/* Using a global variable can cause problems when we reset the stack
- * from cache as ram to ram. If we make this a define USE_SHARED_STACK
- * we could use the same code on all architectures.
- */
-#define console_loglevel CONFIG_DEFAULT_CONSOLE_LOGLEVEL
#endif
#ifndef __ROMCC__
+int console_log_level(int msg_level);
void console_init(void);
void console_hw_init(void);
void console_tx_byte(unsigned char byte);