Browse Source

ppc4xx: Add pci_pre_init() for 405 boards

This patch removes the CFG_PCI_PRE_INIT option completely, since
it's not needed anymore with the patch from Matthias Fuchs with
the "weak" pci_pre_init() implementation.

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 18 years ago
parent
commit
466fff1a7b

+ 2 - 2
board/amcc/bamboo/bamboo.c

@@ -416,7 +416,7 @@ int testdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long addr;
 	unsigned long addr;
@@ -457,7 +457,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 4 - 4
board/amcc/ebony/ebony.c

@@ -207,14 +207,14 @@ long int fixed_sdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long strap;
 	unsigned long strap;
 
 
 	/*--------------------------------------------------------------------------+
 	/*--------------------------------------------------------------------------+
-     *	The ebony board is always configured as the host & requires the
-     *	PCI arbiter to be enabled.
+	 * The ebony board is always configured as the host & requires the
+	 * PCI arbiter to be enabled.
 	 *--------------------------------------------------------------------------*/
 	 *--------------------------------------------------------------------------*/
 	strap = mfdcr(cpc0_strp1);
 	strap = mfdcr(cpc0_strp1);
 	if ((strap & 0x00100000) == 0) {
 	if ((strap & 0x00100000) == 0) {
@@ -224,7 +224,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/amcc/katmai/katmai.c

@@ -292,7 +292,7 @@ int testdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -309,7 +309,7 @@ int pci_pre_init(struct pci_controller * hose )
 
 
 	return 1;
 	return 1;
 }
 }
-#endif	/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/amcc/luan/luan.c

@@ -161,7 +161,7 @@ int testdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init( struct pci_controller *hose )
 int pci_pre_init( struct pci_controller *hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -179,7 +179,7 @@ int pci_pre_init( struct pci_controller *hose )
 
 
 	return  1;
 	return  1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 
 
 /*************************************************************************
 /*************************************************************************

+ 2 - 2
board/amcc/ocotea/ocotea.c

@@ -306,7 +306,7 @@ long int fixed_sdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -323,7 +323,7 @@ int pci_pre_init(struct pci_controller * hose )
 
 
 	return 1;
 	return 1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 15
board/amcc/sequoia/sequoia.c

@@ -426,23 +426,10 @@ int testdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long addr;
 	unsigned long addr;
-#if 0
-	/*--------------------------------------------------------------------------+
-	 *	Cactus is always configured as the host & requires the
-	 *	PCI arbiter to be enabled ???
-	 *--------------------------------------------------------------------------*/
-	unsigned long strap;
-	mfsdr(sdr_sdstp1, strap);
-	if ((strap & SDR0_SDSTP1_PAE_MASK) == 0) {
-		printf("PCI: SDR0_STRP1[PAE] not set.\n");
-		printf("PCI: Configuration aborted.\n");
-		return 0;
-	}
-#endif
 
 
 	/*-------------------------------------------------------------------------+
 	/*-------------------------------------------------------------------------+
 	  | Set priority for all PLB3 devices to 0.
 	  | Set priority for all PLB3 devices to 0.
@@ -480,7 +467,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/amcc/taishan/taishan.c

@@ -236,7 +236,7 @@ int testdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -253,7 +253,7 @@ int pci_pre_init(struct pci_controller * hose )
 
 
 	return 1;
 	return 1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/amcc/yosemite/yosemite.c

@@ -385,7 +385,7 @@ int testdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long addr;
 	unsigned long addr;
@@ -426,7 +426,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/amcc/yucca/yucca.c

@@ -604,7 +604,7 @@ int testdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -621,7 +621,7 @@ int pci_pre_init(struct pci_controller * hose )
 
 
 	return 1;
 	return 1;
 }
 }
-#endif	/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/esd/cpci405/cpci405.c

@@ -551,7 +551,7 @@ void ide_set_reset(int on)
 #endif /* CONFIG_CPCI405_VER2 */
 #endif /* CONFIG_CPCI405_VER2 */
 
 
 
 
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 void cpci405_pci_fixup_irq(struct pci_controller *hose, pci_dev_t dev)
 void cpci405_pci_fixup_irq(struct pci_controller *hose, pci_dev_t dev)
 {
 {
 	unsigned char int_line = 0xff;
 	unsigned char int_line = 0xff;
@@ -582,7 +582,7 @@ int pci_pre_init(struct pci_controller *hose)
 	hose->fixup_irq = cpci405_pci_fixup_irq;
 	hose->fixup_irq = cpci405_pci_fixup_irq;
 	return 1;
 	return 1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 
 
 
 

+ 2 - 2
board/lwmon5/lwmon5.c

@@ -304,7 +304,7 @@ int testdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long addr;
 	unsigned long addr;
@@ -345,7 +345,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/pcs440ep/pcs440ep.c

@@ -217,7 +217,7 @@ int testdram(void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long addr;
 	unsigned long addr;
@@ -258,7 +258,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/prodrive/alpr/alpr.c

@@ -172,7 +172,7 @@ int testdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -192,7 +192,7 @@ int pci_pre_init(struct pci_controller * hose )
 
 
 	return 1;
 	return 1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/prodrive/p3p440/p3p440.c

@@ -176,7 +176,7 @@ int misc_init_r (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller *hose)
 int pci_pre_init(struct pci_controller *hose)
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -193,7 +193,7 @@ int pci_pre_init(struct pci_controller *hose)
 
 
 	return 1;
 	return 1;
 }
 }
-#endif				/* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif	/* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/sandburst/common/sb_common.c

@@ -313,7 +313,7 @@ long int fixed_sdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -330,7 +330,7 @@ int pci_pre_init(struct pci_controller * hose )
 
 
 	return 1;
 	return 1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 2 - 2
board/xpedite1k/xpedite1k.c

@@ -209,7 +209,7 @@ long int fixed_sdram (void)
  *	certain pre-initialization actions.
  *	certain pre-initialization actions.
  *
  *
  ************************************************************************/
  ************************************************************************/
-#if defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI)
 int pci_pre_init(struct pci_controller * hose )
 int pci_pre_init(struct pci_controller * hose )
 {
 {
 	unsigned long strap;
 	unsigned long strap;
@@ -227,7 +227,7 @@ int pci_pre_init(struct pci_controller * hose )
 #endif
 #endif
 	return 1;
 	return 1;
 }
 }
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
 
 
 /*************************************************************************
 /*************************************************************************
  *  pci_target_init
  *  pci_target_init

+ 7 - 6
doc/README.ppc440

@@ -146,12 +146,13 @@ that maps in a single PCI I/O space and PCI memory space. The I/O
 space begins at PCI I/O address 0 and the PCI memory space is
 space begins at PCI I/O address 0 and the PCI memory space is
 256 MB starting at PCI address CFG_PCI_TARGBASE. After the
 256 MB starting at PCI address CFG_PCI_TARGBASE. After the
 pci_controller structure is initialized, the cpu-specific code will
 pci_controller structure is initialized, the cpu-specific code will
-call the routine pci_pre_init() if the CFG_PCI_PRE_INIT flag is
-defined. This routine is implemented by board-specific code & is where
-the board can over-ride/extend the default pci_controller structure
-settings and do other pre-initialization tasks. If pci_pre_init()
-returns a value of zero, PCI initialization is aborted; otherwise the
-controller structure is registered and initialization continues.
+call the routine pci_pre_init(). This routine is implemented by
+board-specific code & is where the board can over-ride/extend the
+default pci_controller structure settings and exspecially provide
+a routine to map the PCI interrupts and do other pre-initialization
+tasks. If pci_pre_init() returns a value of zero, PCI initialization
+is aborted; otherwise the controller structure is registered and
+initialization continues.
 
 
 The default 440GP PCI target configuration is minimal -- it assumes that
 The default 440GP PCI target configuration is minimal -- it assumes that
 the strapping registers are set as necessary. Since the strapping bits
 the strapping registers are set as necessary. Since the strapping bits

+ 5 - 4
include/common.h

@@ -38,7 +38,7 @@ typedef volatile unsigned char	vu_char;
 #include <linux/string.h>
 #include <linux/string.h>
 #include <asm/ptrace.h>
 #include <asm/ptrace.h>
 #include <stdarg.h>
 #include <stdarg.h>
-#if defined(CONFIG_PCI) && defined(CONFIG_440)
+#if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000))
 #include <pci.h>
 #include <pci.h>
 #endif
 #endif
 #if defined(CONFIG_8xx)
 #if defined(CONFIG_8xx)
@@ -248,10 +248,11 @@ void	pci_init      (void);
 void	pci_init_board(void);
 void	pci_init_board(void);
 void	pciinfo	      (int, int);
 void	pciinfo	      (int, int);
 
 
-#if defined(CONFIG_PCI) && defined(CONFIG_440)
-#   if defined(CFG_PCI_PRE_INIT)
+#if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000))
     int	   pci_pre_init	       (struct pci_controller * );
     int	   pci_pre_init	       (struct pci_controller * );
-#   endif
+#endif
+
+#if defined(CONFIG_PCI) && defined(CONFIG_440)
 #   if defined(CFG_PCI_TARGET_INIT)
 #   if defined(CFG_PCI_TARGET_INIT)
 	void	pci_target_init	     (struct pci_controller *);
 	void	pci_target_init	     (struct pci_controller *);
 #   endif
 #   endif

+ 0 - 1
include/configs/CPCI405.h

@@ -143,7 +143,6 @@
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 
 
 #define CONFIG_PCI			/* include pci support	        */
 #define CONFIG_PCI			/* include pci support	        */
-#define CFG_PCI_PRE_INIT                /* pci interrupt mapping etc.   */
 #define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #define CONFIG_PCI_PNP			/* do pci plug-and-play         */
 #define CONFIG_PCI_PNP			/* do pci plug-and-play         */
 					/* resource configuration       */
 					/* resource configuration       */

+ 0 - 1
include/configs/CPCI4052.h

@@ -171,7 +171,6 @@
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 
 
 #define CONFIG_PCI			/* include pci support	        */
 #define CONFIG_PCI			/* include pci support	        */
-#define CFG_PCI_PRE_INIT                /* pci interrupt mapping etc.   */
 #define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #define CONFIG_PCI_PNP			/* do pci plug-and-play         */
 #define CONFIG_PCI_PNP			/* do pci plug-and-play         */
 					/* resource configuration       */
 					/* resource configuration       */

+ 0 - 1
include/configs/CPCI405AB.h

@@ -154,7 +154,6 @@
 #define PCI_HOST_AUTO	2		/* detected via arbiter enable	*/
 #define PCI_HOST_AUTO	2		/* detected via arbiter enable	*/
 
 
 #define CONFIG_PCI			/* include pci support		*/
 #define CONFIG_PCI			/* include pci support		*/
-#define CFG_PCI_PRE_INIT                /* pci interrupt mapping etc.   */
 #define CONFIG_PCI_HOST PCI_HOST_AUTO	/* select pci host function	*/
 #define CONFIG_PCI_HOST PCI_HOST_AUTO	/* select pci host function	*/
 #define CONFIG_PCI_PNP			/* do pci plug-and-play		*/
 #define CONFIG_PCI_PNP			/* do pci plug-and-play		*/
 					/* resource configuration	*/
 					/* resource configuration	*/

+ 0 - 1
include/configs/CPCI405DT.h

@@ -175,7 +175,6 @@
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 
 
 #define CONFIG_PCI			/* include pci support	        */
 #define CONFIG_PCI			/* include pci support	        */
-#define CFG_PCI_PRE_INIT                /* pci interrupt mapping etc.   */
 #define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #define CONFIG_PCI_PNP			/* do pci plug-and-play         */
 #define CONFIG_PCI_PNP			/* do pci plug-and-play         */
 					/* resource configuration       */
 					/* resource configuration       */

+ 0 - 1
include/configs/KAREF.h

@@ -263,7 +263,6 @@
 #define CFG_PCI_TARGBASE      (CFG_PCI_MEMBASE)
 #define CFG_PCI_TARGBASE      (CFG_PCI_MEMBASE)
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		     /* enable board pci_pre_init*/
 #define CFG_PCI_TARGET_INIT		     /* let board init pci target*/
 #define CFG_PCI_TARGET_INIT		     /* let board init pci target*/
 
 
 #define CFG_PCI_SUBSYS_VENDORID 0x17BA	     /* Sandburst */
 #define CFG_PCI_SUBSYS_VENDORID 0x17BA	     /* Sandburst */

+ 0 - 1
include/configs/METROBOX.h

@@ -332,7 +332,6 @@
 #define CFG_PCI_TARGBASE      (CFG_PCI_MEMBASE)
 #define CFG_PCI_TARGBASE      (CFG_PCI_MEMBASE)
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		     /* enable board pci_pre_init*/
 #define CFG_PCI_TARGET_INIT		     /* let board init pci target*/
 #define CFG_PCI_TARGET_INIT		     /* let board init pci target*/
 
 
 #define CFG_PCI_SUBSYS_VENDORID 0x17BA	     /* Sandburst */
 #define CFG_PCI_SUBSYS_VENDORID 0x17BA	     /* Sandburst */

+ 0 - 1
include/configs/XPEDITE1K.h

@@ -238,7 +238,6 @@ extern void out32(unsigned int, unsigned long);
 #define CFG_PCI_TARGBASE    0x80000000	/* PCIaddr mapped to CFG_PCI_MEMBASE */
 #define CFG_PCI_TARGBASE    0x80000000	/* PCIaddr mapped to CFG_PCI_MEMBASE */
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT		    /* let board init pci target    */
 #define CFG_PCI_TARGET_INIT		    /* let board init pci target    */
 
 
 #define CFG_PCI_SUBSYS_VENDORID 0x1014	/* IBM */
 #define CFG_PCI_SUBSYS_VENDORID 0x1014	/* IBM */

+ 0 - 1
include/configs/alpr.h

@@ -275,7 +275,6 @@
 #define CONFIG_PCI_BOOTDELAY	1       /* enable pci bootdelay variable*/
 #define CONFIG_PCI_BOOTDELAY	1       /* enable pci bootdelay variable*/
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #define CFG_PCI_MASTER_INIT
 #define CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/bamboo.h

@@ -389,7 +389,6 @@
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT                /* enable board pci_pre_init()  */
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_MASTER_INIT
 #define CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/ebony.h

@@ -270,7 +270,6 @@
 #define CFG_PCI_TARGBASE    0x80000000  /* PCIaddr mapped to CFG_PCI_MEMBASE */
 #define CFG_PCI_TARGBASE    0x80000000  /* PCIaddr mapped to CFG_PCI_MEMBASE */
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT                /* enable board pci_pre_init()  */
 #define CFG_PCI_TARGET_INIT	            /* let board init pci target    */
 #define CFG_PCI_TARGET_INIT	            /* let board init pci target    */
 
 
 #define CFG_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC */
 #define CFG_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC */

+ 0 - 1
include/configs/katmai.h

@@ -314,7 +314,6 @@
 #undef CONFIG_PCI_CONFIG_HOST_BRIDGE
 #undef CONFIG_PCI_CONFIG_HOST_BRIDGE
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT	1	/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #undef	CFG_PCI_MASTER_INIT
 #undef	CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/luan.h

@@ -273,7 +273,6 @@
 #define CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup  */
 #define CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup  */
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT                /* enable board pci_pre_init()  */
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_TARGET_INIT
 #undef  CFG_PCI_MASTER_INIT
 #undef  CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/lwmon5.h

@@ -288,7 +288,6 @@
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_MASTER_INIT
 #define CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/ocotea.h

@@ -294,7 +294,6 @@
 #define CFG_PCI_TARGBASE    0x80000000	/* PCIaddr mapped to CFG_PCI_MEMBASE */
 #define CFG_PCI_TARGBASE    0x80000000	/* PCIaddr mapped to CFG_PCI_MEMBASE */
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 
 
 #define CFG_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC */
 #define CFG_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC */

+ 0 - 1
include/configs/p3p440.h

@@ -227,7 +227,6 @@
 #define CFG_PCI_TARGBASE    0x80000000  /* PCIaddr mapped to CFG_PCI_MEMBASE */
 #define CFG_PCI_TARGBASE    0x80000000  /* PCIaddr mapped to CFG_PCI_MEMBASE */
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT                /* enable board pci_pre_init()  */
 #define CFG_PCI_TARGET_INIT	            /* let board init pci target    */
 #define CFG_PCI_TARGET_INIT	            /* let board init pci target    */
 
 
 #define CONFIG_DISABLE_PISE_TEST	/* disable PISE test (PCIX only)*/
 #define CONFIG_DISABLE_PISE_TEST	/* disable PISE test (PCIX only)*/

+ 0 - 1
include/configs/pcs440ep.h

@@ -267,7 +267,6 @@
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT                /* enable board pci_pre_init()  */
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_MASTER_INIT
 #define CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/sequoia.h

@@ -371,7 +371,6 @@
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_MASTER_INIT
 #define CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/taishan.h

@@ -298,7 +298,6 @@
 #define CFG_PCI_TARGBASE    0x80000000	/* PCIaddr mapped to CFG_PCI_MEMBASE */
 #define CFG_PCI_TARGBASE    0x80000000	/* PCIaddr mapped to CFG_PCI_MEMBASE */
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT		/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 
 
 #define CFG_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC */
 #define CFG_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC */

+ 0 - 1
include/configs/yosemite.h

@@ -312,7 +312,6 @@
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 #define CFG_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CFG_PCI_MEMBASE*/
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT                /* enable board pci_pre_init()  */
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_TARGET_INIT
 #define CFG_PCI_MASTER_INIT
 #define CFG_PCI_MASTER_INIT
 
 

+ 0 - 1
include/configs/yucca.h

@@ -289,7 +289,6 @@
 #undef CONFIG_PCI_CONFIG_HOST_BRIDGE
 #undef CONFIG_PCI_CONFIG_HOST_BRIDGE
 
 
 /* Board-specific PCI */
 /* Board-specific PCI */
-#define CFG_PCI_PRE_INIT	1	/* enable board pci_pre_init()	*/
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #define CFG_PCI_TARGET_INIT		/* let board init pci target    */
 #undef	CFG_PCI_MASTER_INIT
 #undef	CFG_PCI_MASTER_INIT