Patchwork Set display type to CRT on kontron 986lcd-m

login
register
about
Submitter Patrick Georgi
Date 2011-01-13 10:16:45
Message ID <1294913805.2411.27.camel@linux-0a8x.site>
Download mbox | patch
Permalink /patch/2510/
State Accepted
Commit r6252
Headers show

Comments

Patrick Georgi - 2011-01-13 10:16:45
Hi,

attached patch changes the display type to CRT on kontron/986lcd-m as
the VGABIOS doesn't reliably pick a useful default (in some versions).


Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Joseph Smith - 2011-01-13 11:03:28
On Thu, 13 Jan 2011 11:16:45 +0100, Patrick Georgi
<Patrick.Georgi@secunet.com> wrote:
> Hi,
> 
> attached patch changes the display type to CRT on kontron/986lcd-m as
> the VGABIOS doesn't reliably pick a useful default (in some versions).
> 
> 
> Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>

This is more of a trivial thing but
Acked-by: Joseph Smith <joe@settoplinux.org>

It would be really nice to be able to choose Kconfig options for the INT15
Handler ;-)

Patch

Index: coreboot-staging/src/mainboard/kontron/986lcd-m/mainboard.c

===================================================================
--- coreboot-staging.orig/src/mainboard/kontron/986lcd-m/mainboard.c

+++ coreboot-staging/src/mainboard/kontron/986lcd-m/mainboard.c

@@ -46,7 +46,7 @@  static int int15_handler(void)

 	switch (M.x86.R_AX) {
 	case 0x5f35: /* Boot Display */
 		M.x86.R_AX = 0x005f; // Success
-		M.x86.R_CL = BOOT_DISPLAY_DEFAULT;

+		M.x86.R_CL = BOOT_DISPLAY_CRT;

 		break;
 	case 0x5f40: /* Boot Panel Type */
 		// M.x86.R_AX = 0x015f; // Supported but failed