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/drivers/ati/ragexl/xlinit.c | 7 +++++++ src/drivers/emulation/qemu/init.c | 13 ------------- 2 files changed, 7 insertions(+), 13 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/ati/ragexl/xlinit.c b/src/drivers/ati/ragexl/xlinit.c index bcbce6c9b6..26a7caff0d 100644 --- a/src/drivers/ati/ragexl/xlinit.c +++ b/src/drivers/ati/ragexl/xlinit.c @@ -21,6 +21,13 @@ #include #include +// FIXME BTEXT console within coreboot has been obsoleted +// and will go away. The BTEXT code in this file should be +// fixed to export a framebuffer console through the coreboot +// table (and possibly make it available for bootsplash use) +// Hence do only remove this if you fix the code. +#define CONFIG_CONSOLE_BTEXT 0 + #if CONFIG_CONSOLE_BTEXT==1 #define PLL_CRTC_DECODE 0 diff --git a/src/drivers/emulation/qemu/init.c b/src/drivers/emulation/qemu/init.c index ae38d2b9ed..7fe3fc725f 100644 --- a/src/drivers/emulation/qemu/init.c +++ b/src/drivers/emulation/qemu/init.c @@ -9,19 +9,6 @@ #include #include -#if CONFIG_CONSOLE_BTEXT==1 - -#define PLL_CRTC_DECODE 0 -#define SUPPORT_8_BPP_ABOVE 0 - -#include "fb.h" -#include "fbcon.h" - -#include - -#endif /*CONFIG_CONSOLE_BTEXT*/ - - /* VGA init. We use the Bochs VESA VBE extensions */ #define VBE_DISPI_INDEX_ID 0x0 #define VBE_DISPI_INDEX_XRES 0x1 -- cgit v1.2.3