[coreboot] [commit] r5340 - trunk/src/include/console
repository service
svn at coreboot.org
Wed Mar 31 02:06:13 CEST 2010
Author: stepan
Date: Wed Mar 31 02:06:12 2010
New Revision: 5340
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5340
Log:
mini part of the patch on the mailing list to fix the boards again
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/src/include/console/console.h
Modified: trunk/src/include/console/console.h
==============================================================================
--- trunk/src/include/console/console.h Wed Mar 31 00:21:06 2010 (r5339)
+++ trunk/src/include/console/console.h Wed Mar 31 02:06:12 2010 (r5340)
@@ -4,6 +4,7 @@
#include <stdint.h>
#include <console/loglevel.h>
+#ifndef __PRE_RAM__
void console_init(void);
void console_tx_byte(unsigned char byte);
void console_tx_flush(void);
@@ -11,6 +12,9 @@
int console_tst_byte(void);
void post_code(uint8_t value);
void __attribute__ ((noreturn)) die(const char *msg);
+#if CONFIG_CONSOLE_VGA == 1
+void vga_console_init(void);
+#endif
struct console_driver {
void (*init)(void);
@@ -27,6 +31,8 @@
extern struct console_driver econsole_drivers[];
extern int console_loglevel;
+#endif /* !__PRE_RAM__ */
+
int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
#undef WE_CLEANED_UP_ALL_SIDE_EFFECTS
@@ -110,8 +116,4 @@
#define print_debug_hex32(HEX) printk(BIOS_DEBUG, "%08x", (HEX))
#define print_spew_hex32(HEX) printk(BIOS_SPEW, "%08x", (HEX))
-#if CONFIG_CONSOLE_VGA == 1
-void vga_console_init(void);
-#endif
-
#endif /* CONSOLE_CONSOLE_H_ */
More information about the coreboot
mailing list