summaryrefslogtreecommitdiff
path: root/board/xes
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-10-29 16:54:52 +0100
committerStefan Roese <sr@denx.de>2009-11-09 11:27:08 +0100
commit9a81c61249d8361ed57d81f496121f3eb9c0eee8 (patch)
tree8fdae979d28249f795d065809321bad7ca138e52 /board/xes
parentb0b867462c569e7accd6f78c942cbab028116ecf (diff)
downloadu-boot-imx-9a81c61249d8361ed57d81f496121f3eb9c0eee8.zip
u-boot-imx-9a81c61249d8361ed57d81f496121f3eb9c0eee8.tar.gz
u-boot-imx-9a81c61249d8361ed57d81f496121f3eb9c0eee8.tar.bz2
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/xes')
-rw-r--r--board/xes/xpedite1000/xpedite1000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/xes/xpedite1000/xpedite1000.c b/board/xes/xpedite1000/xpedite1000.c
index 04949bb..0c4cf94 100644
--- a/board/xes/xpedite1000/xpedite1000.c
+++ b/board/xes/xpedite1000/xpedite1000.c
@@ -200,6 +200,8 @@ void pci_target_init(struct pci_controller * hose)
#if defined(CONFIG_PCI)
/*
+ * 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
* PPMC) it's insufficient to depend on the state of the arbiter enable