summaryrefslogtreecommitdiff
path: root/include/asm-ppc/4xx_pci.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-11-12 12:00:49 +0100
committerStefan Roese <sr@denx.de>2009-11-19 11:35:08 +0100
commit1095493a5d4c16f481a783f6f54d83ad0e07dfa0 (patch)
treed94be4d3a2e4466ef0a6780616a82c2599df20cb /include/asm-ppc/4xx_pci.h
parent06f43286c6354aaab0103615e83893512f86eee7 (diff)
downloadu-boot-imx-1095493a5d4c16f481a783f6f54d83ad0e07dfa0.zip
u-boot-imx-1095493a5d4c16f481a783f6f54d83ad0e07dfa0.tar.gz
u-boot-imx-1095493a5d4c16f481a783f6f54d83ad0e07dfa0.tar.bz2
ppc4xx: Consolidate pci_target_init() function
This patch removes the duplicted implementations of the pci_target_init() function by introducing a weak default function for it. This weak default has a different implementation for 440EP(x)/GR(x) PPC's. It can be overridden by a board specific version (e.g. PMC440, korat). Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Diffstat (limited to 'include/asm-ppc/4xx_pci.h')
-rw-r--r--include/asm-ppc/4xx_pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/4xx_pci.h b/include/asm-ppc/4xx_pci.h
index 30125a1..5400a03 100644
--- a/include/asm-ppc/4xx_pci.h
+++ b/include/asm-ppc/4xx_pci.h
@@ -49,4 +49,6 @@
#define PCIDEVID_405GP 0x0
+void __pci_target_init(struct pci_controller *hose);
+
#endif