Fix console prototypes for non-romcc boards.
authorMyles Watson <mylesgw@gmail.com>
Fri, 2 Apr 2010 21:39:12 +0000 (21:39 +0000)
committerMyles Watson <mylesgw@gmail.com>
Fri, 2 Apr 2010 21:39:12 +0000 (21:39 +0000)
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5347 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/include/console/console.h
src/include/lib.h

index 98ee4581f1b64fc20f6c8f9e566f2c4f64261c8f..f5301ee128c501cfe93a3bfee9221f9c5ee61ae1 100644 (file)
@@ -4,14 +4,17 @@
 #include <stdint.h>
 #include <console/loglevel.h>
 
-#ifndef __PRE_RAM__
+#ifndef __ROMCC__
 void console_init(void);
+void post_code(u8 value);
+void __attribute__ ((noreturn)) die(const char *msg);
+#endif
+
+#ifndef __PRE_RAM__
 void console_tx_byte(unsigned char byte);
 void console_tx_flush(void);
 unsigned char console_rx_byte(void);
 int console_tst_byte(void);
-void post_code(u8 value);
-void __attribute__ ((noreturn)) die(const char *msg);
 #if CONFIG_CONSOLE_VGA == 1
 void vga_console_init(void);
 #endif
index 41b286a6b6379121bcf082a377f925a98a5ed348..2a2b73a5140edcf807c9349f9cd46c0f70331c4a 100644 (file)
@@ -37,6 +37,7 @@ void move_gdt(void);
 
 /* Defined in src/lib/ramtest.c */
 void ram_check(unsigned long start, unsigned long stop);
+void quick_ram_check(void);
 
 /* Defined in src/pc80/serial.c */
 void uart_init(void);