From 3c47e8a782c21e6d987f670713242397ec01b82a Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Sat, 24 Jan 2015 21:02:19 +0400 Subject: intel/gma: Return success for Intel int15 VGA set panel type hook One of the interrupts in intel_vga_int15_handler lacks positive return status. Write correct status to avoid error messages in log. TEST=With this change `int15 call returned error` is not shown anymore on a custom board with Intel Atom CPU, i945GME northbridge and i82801gx southbridge. Change-Id: I740b2df9bd6a7d261d89bef74b924edbb64354aa Signed-off-by: Konstantin Aladyshev Reviewed-on: http://review.coreboot.org/12255 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- src/drivers/intel/gma/int15.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/intel/gma/int15.c b/src/drivers/intel/gma/int15.c index 36a9c3342e..e7c3c71d50 100644 --- a/src/drivers/intel/gma/int15.c +++ b/src/drivers/intel/gma/int15.c @@ -60,6 +60,7 @@ int intel_vga_int15_handler(void) X86_AX = 0x005f; // Success X86_CL = panel_type; printk(BIOS_DEBUG, "DISPLAY=%x\n", X86_CL); + res = 1; break; case 0x5f51: /* -- cgit v1.2.3