summaryrefslogtreecommitdiff
path: root/src/devices/pci_rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/pci_rom.c')
-rw-r--r--src/devices/pci_rom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/pci_rom.c b/src/devices/pci_rom.c
index 9eaea84115..5df13a4214 100644
--- a/src/devices/pci_rom.c
+++ b/src/devices/pci_rom.c
@@ -27,7 +27,7 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <string.h>
-#include <romfs.h>
+#include <cbfs.h>
struct rom_header * pci_rom_probe(struct device *dev)
{
@@ -35,10 +35,10 @@ struct rom_header * pci_rom_probe(struct device *dev)
struct rom_header *rom_header;
struct pci_data *rom_data;
- if (CONFIG_ROMFS) {
+ if (CONFIG_CBFS) {
void *v;
/* if it's in FLASH, then it's as if dev->on_mainboard was true */
- v = romfs_load_optionrom(dev->vendor, dev->device, NULL);
+ v = cbfs_load_optionrom(dev->vendor, dev->device, NULL);
printk_debug("In cbfs, rom address for %s = %lx\n",
dev_path(dev), rom_address);
if (v) {