summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-03-05 18:27:19 +0000
committerMyles Watson <mylesgw@gmail.com>2010-03-05 18:27:19 +0000
commitb0259117f214a80d1ca945bd1fe05b6b3d9858a9 (patch)
tree50f607aa8d8ac00d7b10fe970cea756d7e2470c3 /src/devices
parentf98ad3ace0852159c6e716a5563a9c3df8cf76f3 (diff)
downloadcoreboot-b0259117f214a80d1ca945bd1fe05b6b3d9858a9.tar.xz
1. Move run_bios prototype to device.h
2. Use time.h for get_time() and move tb_freq into functions.c 3. Move read_io and write_io to io.c and make them static 4. Make a couple of functions static in interrupt.c 5. Refactor a cast from char[] to u64 to get rid of potential alignment problems and a warning Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5191 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/pci_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c
index aeb03c7eee..b5088c1080 100644
--- a/src/devices/pci_device.c
+++ b/src/devices/pci_device.c
@@ -652,7 +652,6 @@ void pci_dev_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
void pci_dev_init(struct device *dev)
{
#if CONFIG_PCI_ROM_RUN == 1 || CONFIG_VGA_ROM_RUN == 1
- void run_bios(struct device *dev, unsigned long addr);
struct rom_header *rom, *ram;
if (CONFIG_PCI_ROM_RUN != 1 && /* Only execute VGA ROMs. */