]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/include/asm/pci.h
x86: Initialise SPI if enabled
[u-boot] / arch / x86 / include / asm / pci.h
index 85f60d77f028db8023d9f737a6a2c4de28f41124..6d68ab6c92623e38dfd591f89cf70ce5d888de19 100644 (file)
  */
 
 #ifndef _PCI_I386_H_
-#define _PCI_I386_H_   1
+#define _PCI_I386_H_
 
-void pci_setup_type1(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data);
+#define DEFINE_PCI_DEVICE_TABLE(_table) \
+       const struct pci_device_id _table[]
+
+void pci_setup_type1(struct pci_controller *hose);
 int pci_enable_legacy_video_ports(struct pci_controller* hose);
 int pci_shadow_rom(pci_dev_t dev, unsigned char *dest);
 void pci_remove_rom_window(struct pci_controller* hose, u32 addr);