diff options
author | Stefan Roese | 2009-10-29 16:54:52 +0100 |
---|---|---|
committer | Stefan Roese | 2009-11-09 11:27:08 +0100 |
commit | 9a81c61249d8361ed57d81f496121f3eb9c0eee8 (patch) | |
tree | 8fdae979d28249f795d065809321bad7ca138e52 /board/prodrive | |
parent | b0b867462c569e7accd6f78c942cbab028116ecf (diff) |
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>
Diffstat (limited to 'board/prodrive')
-rw-r--r-- | board/prodrive/alpr/alpr.c | 2 | ||||
-rw-r--r-- | board/prodrive/p3p440/p3p440.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/prodrive/alpr/alpr.c b/board/prodrive/alpr/alpr.c index 51335c4d9c8..e9e2bf3e0ba 100644 --- a/board/prodrive/alpr/alpr.c +++ b/board/prodrive/alpr/alpr.c @@ -218,7 +218,7 @@ void pci_target_init(struct pci_controller * hose ) #endif /* defined(CONFIG_PCI) && defined(CONFIG_SYS_PCI_TARGET_INIT) */ /************************************************************************* - * is_pci_host + * Override weak is_pci_host() * * This routine is called to determine if a pci scan should be * performed. With various hardware environments (especially cPCI and diff --git a/board/prodrive/p3p440/p3p440.c b/board/prodrive/p3p440/p3p440.c index 9a078527609..e07400794b0 100644 --- a/board/prodrive/p3p440/p3p440.c +++ b/board/prodrive/p3p440/p3p440.c @@ -235,7 +235,7 @@ void pci_target_init(struct pci_controller *hose) #endif /* defined(CONFIG_PCI) && defined(CONFIG_SYS_PCI_TARGET_INIT) */ /************************************************************************* - * is_pci_host + * Override weak is_pci_host() * * This routine is called to determine if a pci scan should be * performed. With various hardware environments (especially cPCI and |