diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2008-03-24 01:53:01 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2008-03-28 14:16:13 +0900 |
commit | 28e5efde4d925fcb34901d0030d0648de2da7e89 (patch) | |
tree | b758dc603001de2aa78065a3f47d98417f5d78a4 /include/asm-sh | |
parent | ab8f4d40d069cd3cbe7563ddfe3e5f03b0c7c721 (diff) | |
download | u-boot-imx-28e5efde4d925fcb34901d0030d0648de2da7e89.zip u-boot-imx-28e5efde4d925fcb34901d0030d0648de2da7e89.tar.gz u-boot-imx-28e5efde4d925fcb34901d0030d0648de2da7e89.tar.bz2 |
sh: Add support PCI host driver for SH7751/SH7751R
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/pci.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-sh/pci.h b/include/asm-sh/pci.h index 821961f..bc59491 100644 --- a/include/asm-sh/pci.h +++ b/include/asm-sh/pci.h @@ -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 @@ -28,8 +28,9 @@ #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." |