error patch.
Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3828
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
#include <arch/io.h>
-#include <device/pci.h>
+
#include <device/pci_def.h>
#include <device/pci_ids.h>
#ifndef __ROMCC__
-#include <device/device.h>
+#include <device/pci.h>
#define PCI_ID(VENDOR_ID, DEVICE_ID) \
((((DEVICE_ID) & 0xFFFF) << 16) | ((VENDOR_ID) & 0xFFFF))
#define PCI_DEV_INVALID 0
{
return dev_find_device(pci_id >> 16, pci_id & 0xffff, from);
}
+#else
+#include <arch/romcc_io.h>
#endif
void soft_reset(void)