diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-08 09:14:51 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-08 09:14:51 +0000 |
commit | 12584e2bd2ec7ab1ed60dc524574c8ae04dc17d6 (patch) | |
tree | 3ce28ab0588aff88ca74bb3281be61bbbd703c4c /src/include/console/console.h | |
parent | 66e5bbe45fac014fb6e49c03fab453f0e866dad6 (diff) |
Drop console/console.c and pc80/serial.c from mainboards'
romstage.c.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5528 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/console/console.h')
-rw-r--r-- | src/include/console/console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index 36661c25c7..9b3b88678a 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -307,4 +307,9 @@ static void print_spew(const char *str) { __console_tx_string(BIOS_SPEW, str); } #endif +#ifdef __ROMCC__ +/* if included by romcc, include the sources, too. romcc can't use prototypes */ +#include <console/console.c> +#endif + #endif /* CONSOLE_CONSOLE_H_ */ |