From 28e5efde4d925fcb34901d0030d0648de2da7e89 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Mon, 24 Mar 2008 01:53:01 +0900 Subject: sh: Add support PCI host driver for SH7751/SH7751R Signed-off-by: Nobuhiro Iwamatsu --- include/asm-sh/pci.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/asm-sh') diff --git a/include/asm-sh/pci.h b/include/asm-sh/pci.h index 821961fe4e..bc59491c8a 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 + * (C) 2007,2008 Nobuhiro Iwamatsu * (C) 2008 Yusuke Goda * * u-boot/include/asm-sh/pci.h @@ -28,8 +28,9 @@ #define _ASM_PCI_H_ #include - -#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." -- cgit v1.2.1