summaryrefslogtreecommitdiff
path: root/src/devices/pci_rom.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-04-14 07:40:01 +0000
committerPeter Stuge <peter@stuge.se>2009-04-14 07:40:01 +0000
commit483b7bbd7703ebe100ea7b10393e18712bbafc95 (patch)
treee789cebd812f01966e5a85fde02d3dafb147ac45 /src/devices/pci_rom.c
parent3935b19d9fb46ef8b57a1f2817d20113aa867920 (diff)
v2/src romfs->cbfs rename
This also has the config tool changes in v2/util. Rename romfs.[ch]->cbfs.[ch] and sed romfs->cbfs romtool->cbfstool ROMFS->CBFS Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4113 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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) {