]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/pci/pci_rom.c
x86: Move VGA option rom macros to Kconfig
[karo-tx-uboot.git] / drivers / pci / pci_rom.c
index 0a644a9bc5bfe56aeb9c8377a72504dd9eb9c7c9..dd7fd953caf70cdb1164d079a62a091c5ebdd4ca 100644 (file)
@@ -79,8 +79,8 @@ static int pci_rom_probe(pci_dev_t dev, uint class,
        if (vendev != mapped_vendev)
                debug("Device ID mapped to %#08x\n", mapped_vendev);
 
-#ifdef CONFIG_X86_OPTION_ROM_ADDR
-       rom_address = CONFIG_X86_OPTION_ROM_ADDR;
+#ifdef CONFIG_VGA_BIOS_ADDR
+       rom_address = CONFIG_VGA_BIOS_ADDR;
 #else
 
        if (pciauto_setup_rom(pci_bus_to_hose(PCI_BUS(dev)), dev)) {