Merge branch 'master' of git://git.denx.de/u-boot-nios
[oweals/u-boot.git] / include / asm-sh / pci.h
index 821961fe4e55b2dc07e59dd7b32be8b81e252c65..040c532132c80d99a850e46f34def08125077d01 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * SH4 PCI Controller (PCIC) for U-Boot.
  * (C) Dustin McIntire (dustin@sensoria.com)
- * (C) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+ * (C) 2007,2008 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  * (C) 2008 Yusuke Goda <goda.yusuke@renesas.com>
  *
  * u-boot/include/asm-sh/pci.h
 #define _ASM_PCI_H_
 
 #include <pci.h>
-
-#if defined(CONFIG_CPU_SH7780)
+#if defined(CONFIG_SH7751_PCI)
+int pci_sh7751_init(struct pci_controller *hose);
+#elif defined(CONFIG_SH7780_PCI)
 int pci_sh7780_init(struct pci_controller *hose);
 #else
 #error "Not support PCI."
 #endif
 
+int pci_sh4_init(struct pci_controller *hose);
 /* PCI dword read for sh4 */
 int pci_sh4_read_config_dword(struct pci_controller *hose,
                pci_dev_t dev, int offset, u32 *value);