Author: myles Date: Fri Apr 2 23:39:12 2010 New Revision: 5347 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5347
Log: Fix console prototypes for non-romcc boards.
Signed-off-by: Myles Watson mylesgw@gmail.com Acked-by: Myles Watson mylesgw@gmail.com
Modified: trunk/src/include/console/console.h trunk/src/include/lib.h
Modified: trunk/src/include/console/console.h ============================================================================== --- trunk/src/include/console/console.h Fri Apr 2 22:14:21 2010 (r5346) +++ trunk/src/include/console/console.h Fri Apr 2 23:39:12 2010 (r5347) @@ -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
Modified: trunk/src/include/lib.h ============================================================================== --- trunk/src/include/lib.h Fri Apr 2 22:14:21 2010 (r5346) +++ trunk/src/include/lib.h Fri Apr 2 23:39:12 2010 (r5347) @@ -37,6 +37,7 @@
/* 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);