aboutsummaryrefslogtreecommitdiff
path: root/src/arch/i386/lib/console.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-10-24 13:06:04 +0000
committerStefan Reinauer <stepan@openbios.org>2009-10-24 13:06:04 +0000
commit52fc6b12cb458a93ba1eeac4082f4e7f574cdafc (patch)
treeb776758d0d9deb8947f46a248a31b33f9f9d1a5b /src/arch/i386/lib/console.c
parentb53bed15677e8bd97f58f7f5d847f1029ddaa41b (diff)
re-order console output functions, add proper prototypes,
drop claim that our files were blatantly copied, because they have been rewritten a very long time ago. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4837 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/lib/console.c')
-rw-r--r--src/arch/i386/lib/console.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/arch/i386/lib/console.c b/src/arch/i386/lib/console.c
index 47015bc75c..2bab6032d3 100644
--- a/src/arch/i386/lib/console.c
+++ b/src/arch/i386/lib/console.c
@@ -1,18 +1,9 @@
#include <console/loglevel.h>
#if CONFIG_USE_PRINTK_IN_CAR == 0
-static void __console_tx_byte(unsigned char byte)
-{
- uart_tx_byte(byte);
-}
-
#include "console_print.c"
-
-#else
-/* CONFIG_USE_PRINTK_IN_CAR == 1 */
-
+#else /* CONFIG_USE_PRINTK_IN_CAR == 1 */
#include "console_printk.c"
-
#endif /* CONFIG_USE_PRINTK_IN_CAR */
#ifndef COREBOOT_EXTRA_VERSION
@@ -32,7 +23,7 @@ static void console_init(void)
}
-static void die(const char *str)
+void die(const char *str)
{
print_emerg(str);
do {