summaryrefslogtreecommitdiff
path: root/src/devices/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/device.c')
-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 f64e51d1f6..1b239f9d15 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -413,7 +413,7 @@ static void allocate_vga_resource(void)
vga = vga_first;
}
-#if 1
+#if CONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST == 1
if (vga_onboard) // will use on board vga as pri
#else
if (!vga) // will use last add on adapter as pri