summaryrefslogtreecommitdiff
path: root/board/amcc/ebony/ebony.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-25 15:57:39 +0200
committerStefan Roese <sr@denx.de>2007-06-25 15:57:39 +0200
commit466fff1a7bb5fe764a06450626f6098219f446b8 (patch)
treeea3d101e2103afb8d6f16c78a8809cef1c095a46 /board/amcc/ebony/ebony.c
parent6f35c53166213c24a5a0e2390ed861136ff73870 (diff)
downloadu-boot-imx-466fff1a7bb5fe764a06450626f6098219f446b8.zip
u-boot-imx-466fff1a7bb5fe764a06450626f6098219f446b8.tar.gz
u-boot-imx-466fff1a7bb5fe764a06450626f6098219f446b8.tar.bz2
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>
Diffstat (limited to 'board/amcc/ebony/ebony.c')
-rw-r--r--board/amcc/ebony/ebony.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/amcc/ebony/ebony.c b/board/amcc/ebony/ebony.c
index dcafac9..ededb3e 100644
--- a/board/amcc/ebony/ebony.c
+++ b/board/amcc/ebony/ebony.c
@@ -207,14 +207,14 @@ long int fixed_sdram(void)
* 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)
{
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);
if ((strap & 0x00100000) == 0) {
@@ -224,7 +224,7 @@ int pci_pre_init(struct pci_controller *hose)
return 1;
}
-#endif /* defined(CONFIG_PCI) && defined(CFG_PCI_PRE_INIT) */
+#endif /* defined(CONFIG_PCI) */
/*************************************************************************
* pci_target_init