]> 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 050a2bb8683ed0df47dd358ebb3563691963bbef..6d68ab6c92623e38dfd591f89cf70ce5d888de19 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  * (C) Copyright 2002
- * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
+ * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
  *
  * See file CREDITS for list of people who contributed to this
  * project.
  */
 
 #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);