aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostr <aladyshev@nicevt.ru>2012-10-06 13:27:58 +0400
committerPatrick Georgi <patrick@georgi-clan.de>2012-10-07 07:24:58 +0200
commit1f0d379a7e87b12b2b6a4af7833f633b08ef7184 (patch)
tree6c90a19a5433e2bb7d0521ded691d9c2154ba7f3
parentee00e7bd7378bf229c33389d52793ee8c40017ee (diff)
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 <aladyshev@nicevt.ru> Reviewed-on: http://review.coreboot.org/1561 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
-rw-r--r--src/devices/device.c2
1 files changed, 1 insertions, 1 deletions
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;
}