Fix multipleVGA cards resource conflict on Windows
[coreboot.git] / src / devices / device.c
index a2619bf00070db755f83b8870f5806313f6352be..8ad9787431e5c03f60f3a45c5f5da07f34357958 100644 (file)
@@ -932,10 +932,6 @@ void dev_configure(void)
        struct device *root;
        struct device *child;
 
-#if CONFIG_VGA_BRIDGE_SETUP == 1
-       set_vga_bridge_bits();
-#endif
-
        printk(BIOS_INFO, "Allocating resources...\n");
 
        root = &dev_root;
@@ -1028,6 +1024,10 @@ void dev_configure(void)
        printk(BIOS_INFO, "Done setting resources.\n");
        print_resource_tree(root, BIOS_SPEW, "After assigning values.");
 
+#if CONFIG_VGA_BRIDGE_SETUP == 1
+       set_vga_bridge_bits();
+#endif
+
        printk(BIOS_INFO, "Done allocating resources.\n");
 }