summaryrefslogtreecommitdiff
path: root/src/include/console
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-28 14:37:27 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-04-09 11:38:12 +0200
commit56ae13983bae2ba4214dd635c46afad7e7bc50c1 (patch)
tree99f8aa55ebc7929e9599c033d925a4247e4fe257 /src/include/console
parentb2d25967142437a82da150d0134923e3fd783dbf (diff)
downloadcoreboot-56ae13983bae2ba4214dd635c46afad7e7bc50c1.tar.xz
console: Hide global console_loglevel
Change-Id: I7bdc468bc3f74516abb2c583bdb5b6d7555d987c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5333 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/include/console')
-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);