ppc4xx: Remove duplicated is_pci_host() functions
authorStefan Roese <sr@denx.de>
Thu, 29 Oct 2009 15:54:52 +0000 (16:54 +0100)
committerStefan Roese <sr@denx.de>
Mon, 9 Nov 2009 10:27:08 +0000 (11:27 +0100)
commit9a81c61249d8361ed57d81f496121f3eb9c0eee8
tree8fdae979d28249f795d065809321bad7ca138e52
parentb0b867462c569e7accd6f78c942cbab028116ecf
ppc4xx: Remove duplicated is_pci_host() functions

This patch introduces a weak default function for is_pci_host(),
returning 1. This is the default behaviour, since most boards only
implement PCI host functionality. This weak default can be overridden
by a board specific version if needed.

Signed-off-by: Stefan Roese <sr@denx.de>
23 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/pmc440/pmc440.c
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