From 1f0d379a7e87b12b2b6a4af7833f633b08ef7184 Mon Sep 17 00:00:00 2001 From: Kostr Date: Sat, 6 Oct 2012 13:27:58 +0400 Subject: Revert order in VGA device choice Before change "Simplify VGA card discovery" (http://review.coreboot.org/#/c/1255/) coreboot was setting up VGA for the last found VGA device. After this change it setting up VGA for the first found. This change broke compatibility to my Supermicro H8QGI board. Revert order back to old to save compatibility for this board (and maybe any other boards) Change-Id: Id5f2be60f95298059651c26133806e2694ff60aa Signed-off-by: Kostr Reviewed-on: http://review.coreboot.org/1561 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/devices/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/device.c b/src/devices/device.c index 6b1902d572..f021c9b3a3 100644 --- a/src/devices/device.c +++ b/src/devices/device.c @@ -732,7 +732,7 @@ static void set_vga_bridge_bits(void) if (dev->on_mainboard) { vga_onboard = dev; - } else if (!vga) { + } else { vga = dev; } -- cgit v1.2.3