From abc0c8551604933ca54e9eaa48c3f00e4915dc90 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 22 Nov 2010 08:09:50 +0000 Subject: Printing coreboot debug messages on VGA console is pretty much useless, since initializing VGA happens pretty much as the last thing before starting the payload. Hence, drop VGA console support, as we did in coreboot v3. - Drop VGA and BTEXT console support. Console is meant to be debugging only, and by the time graphics comes up 99% of the risky stuff has already happened. Note: This patch does not remove hardware init but only the actual output functionality. The ragexl driver needs some extra love, but that's for another day - factor out die() and post() - drop some leftover RAMBASE < 0x100000 checks. Signed-off-by: Stefan Reinauer Acked-by: QingPei Wang git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6111 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/console/console.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include/console/console.h') diff --git a/src/include/console/console.h b/src/include/console/console.h index 087e46179a..6953927ff1 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -28,9 +28,6 @@ void console_tx_byte(unsigned char byte); void console_tx_flush(void); unsigned char console_rx_byte(void); int console_tst_byte(void); -#if CONFIG_CONSOLE_VGA == 1 -void vga_console_init(void); -#endif #if CONFIG_USBDEBUG #include #endif @@ -356,6 +353,8 @@ static void print_spew(const char *str) { __console_tx_string(BIOS_SPEW, str); } #ifdef __ROMCC__ /* if included by romcc, include the sources, too. romcc can't use prototypes */ #include +#include +#include #endif #endif /* CONSOLE_CONSOLE_H_ */ -- cgit v1.2.3