ppc4xx: Consolidate pci_pre_init() function
authorStefan Roese <sr@denx.de>
Thu, 12 Nov 2009 15:41:09 +0000 (16:41 +0100)
committerStefan Roese <sr@denx.de>
Thu, 19 Nov 2009 10:35:30 +0000 (11:35 +0100)
commita760b0203155da6fb8b8e9086169bb87d09d76fa
tree4dcdef08e7f1ff88574caeae511d1ddd74833f4d
parent1095493a5d4c16f481a783f6f54d83ad0e07dfa0
ppc4xx: Consolidate pci_pre_init() function

This patch removes the duplicted implementations of the pci_pre_init()
function by introducing a weak default function for it. This weak default
has a different implementation for some PPC variants. It can be
overridden by a board specific version.

Signed-off-by: Stefan Roese <sr@denx.de>
28 files changed:
board/amcc/bamboo/bamboo.c
board/amcc/ebony/ebony.c
board/amcc/katmai/katmai.c
board/amcc/kilauea/kilauea.c
board/amcc/luan/luan.c
board/amcc/makalu/makalu.c
board/amcc/ocotea/ocotea.c
board/amcc/sequoia/sequoia.c
board/amcc/taishan/taishan.c
board/amcc/yosemite/yosemite.c
board/amcc/yucca/yucca.c
board/esd/du440/du440.c
board/esd/pmc440/pmc440.c
board/gdsys/gdppc440etx/gdppc440etx.c
board/korat/korat.c
board/lwmon5/lwmon5.c
board/pcs440ep/pcs440ep.c
board/prodrive/alpr/alpr.c
board/prodrive/p3p440/p3p440.c
board/sandburst/common/sb_common.c
board/xes/xpedite1000/xpedite1000.c
cpu/ppc4xx/4xx_pci.c
cpu/ppc4xx/cpu.c
include/asm-ppc/4xx_pci.h
include/configs/PMC440.h
include/configs/korat.h
include/configs/sequoia.h
include/ppc440.h