]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Consolidate pci_target_init() function
authorStefan Roese <sr@denx.de>
Thu, 12 Nov 2009 11:00:49 +0000 (12:00 +0100)
committerStefan Roese <sr@denx.de>
Thu, 19 Nov 2009 10:35:08 +0000 (11:35 +0100)
commit1095493a5d4c16f481a783f6f54d83ad0e07dfa0
treed94be4d3a2e4466ef0a6780616a82c2599df20cb
parent06f43286c6354aaab0103615e83893512f86eee7
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>
27 files changed:
board/amcc/bamboo/bamboo.c
board/amcc/canyonlands/canyonlands.c
board/amcc/ebony/ebony.c
board/amcc/katmai/katmai.c
board/amcc/luan/luan.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/du440/du440.h
board/gdsys/gdppc440etx/gdppc440etx.c
board/gdsys/intip/intip.c
board/korat/korat.c
board/lwmon5/lwmon5.c
board/netstal/hcu5/hcu5.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
include/asm-ppc/4xx_pci.h
include/configs/DU440.h
include/configs/PMC440.h
include/configs/korat.h