summaryrefslogtreecommitdiffstats
path: root/src/include/device/pci_rom.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2005-01-13 18:42:22 +0000
committerYinghai Lu <yinghailu@gmail.com>2005-01-13 18:42:22 +0000
commit6308d58c92b3fd307b25b64563a2846ab6e9ef84 (patch)
tree87b9910807f4c469598c48ac652bd8a0b82220ba /src/include/device/pci_rom.h
parentd8ad7df7002963fb42d59fda6dbc42e6003fd065 (diff)
downloadcoreboot-6308d58c92b3fd307b25b64563a2846ab6e9ef84.tar.gz
coreboot-6308d58c92b3fd307b25b64563a2846ab6e9ef84.tar.bz2
coreboot-6308d58c92b3fd307b25b64563a2846ab6e9ef84.zip
onboard pci_rom
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1865 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device/pci_rom.h')
-rw-r--r--src/include/device/pci_rom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/device/pci_rom.h b/src/include/device/pci_rom.h
index 68c8e71b7c85..4d82142459ee 100644
--- a/src/include/device/pci_rom.h
+++ b/src/include/device/pci_rom.h
@@ -1,3 +1,5 @@
+#ifndef PCI_ROM_H
+#define PCI_ROM_H
#include <arch/byteorder.h>
#include <stddef.h>
@@ -30,3 +32,8 @@ struct pci_data {
uint8_t indicator;
uint16_t reserved_2;
};
+
+extern struct rom_header * pci_rom_probe(struct device *dev);
+extern struct rom_header *pci_rom_load(struct device *dev, struct rom_header *rom_header);
+
+#endif