summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-07-06 11:44:33 +0200
committerStefan Roese <sr@denx.de>2009-07-08 10:59:07 +0200
commit20b3c4b528606d51799aed5e4c71783720cd2b72 (patch)
tree4acccd568ab59eb68e67d669d8f76d69db40ae08 /cpu
parentd0a1364f91c80d29daff6b27a7904a50cdc00b35 (diff)
downloadu-boot-imx-20b3c4b528606d51799aed5e4c71783720cd2b72.zip
u-boot-imx-20b3c4b528606d51799aed5e4c71783720cd2b72.tar.gz
u-boot-imx-20b3c4b528606d51799aed5e4c71783720cd2b72.tar.bz2
ppc4xx: Remove compilation warning "pci_async_enabled defined but not used"
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 06f44ad..fb3837c 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -54,6 +54,7 @@ int __get_cpu_num(void)
}
int get_cpu_num(void) __attribute__((weak, alias("__get_cpu_num")));
+#if defined(CONFIG_PCI)
#if defined(CONFIG_405GP) || \
defined(CONFIG_440EP) || defined(CONFIG_440GR) || \
defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
@@ -76,6 +77,7 @@ static int pci_async_enabled(void)
#endif
}
#endif
+#endif /* CONFIG_PCI */
#if defined(CONFIG_PCI) && !defined(CONFIG_IOP480) && \
!defined(CONFIG_405) && !defined(CONFIG_405EX)