diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-04-02 21:39:12 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-04-02 21:39:12 +0000 |
commit | b54deb77f03269419a257d3c5b0f06d38831f125 (patch) | |
tree | ebca5f302b2689dc69c8bcbc743cf7ed70676f39 /src/include/console | |
parent | a4fa5ee88c6702681c5d54da6b759479baa81a03 (diff) | |
download | coreboot-b54deb77f03269419a257d3c5b0f06d38831f125.tar.xz |
Fix console prototypes for non-romcc boards.
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
Diffstat (limited to 'src/include/console')
-rw-r--r-- | src/include/console/console.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index 98ee4581f1..f5301ee128 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -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 |