From 08c15ed266d8dec11de9b2eed097678b454ea7fc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 5 Feb 2015 01:02:57 -0600 Subject: drivers/xgi: Fix legacy VGA text mode initialization TEST: Booted KFSN4-DRE with on-board XGI Volari Z9s Initial text from coreboot appeared, and the Linux console was displayed immediately at the start of kernel initialization. After boot was complete the text mode console continued to behave normally. SeaBIOS does not currently make use of the legacy VGA text-mode display. Change-Id: I2177a1d00e6f07db661dd99fe0184e2c228404d1 Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/8360 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/drivers/xgi/common/xgi_coreboot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drivers/xgi/common/xgi_coreboot.h') diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h index 524615ccaf..b616751c81 100644 --- a/src/drivers/xgi/common/xgi_coreboot.h +++ b/src/drivers/xgi/common/xgi_coreboot.h @@ -208,6 +208,8 @@ enum _SIS_LCD_TYPE { /* End code taken from Linux kernel 3.18.5 */ +#define DEFAULT_TEXT_MODE 16 /* index for 800x600x8 */ + /* coreboot <--> kernel code interface */ #define __iomem #define SISIOMEMTYPE -- cgit v1.2.3