summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-05-27 10:34:32 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:52 +0200
commit1bbae2b816d4ed38db2ebf42166a973b1ffc0df7 (patch)
treec6dfff7d2c8b3e158630d0c64d3146ffee5c5552 /cpu
parenta3455c00510c5abf1e91743c4a02d8393b6df18d (diff)
downloadtalos-obmc-uboot-1bbae2b816d4ed38db2ebf42166a973b1ffc0df7.tar.gz
talos-obmc-uboot-1bbae2b816d4ed38db2ebf42166a973b1ffc0df7.zip
ppc4xx: Remove PCI async bootup message if PCI is not used
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 9a6a8d7c9b..06f44ad376 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -597,7 +597,7 @@ int checkcpu (void)
printf (" Internal PCI arbiter %sabled", pci_arbiter_enabled() ? "en" : "dis");
#endif
-#if defined(PCI_ASYNC)
+#if defined(CONFIG_PCI) && defined(PCI_ASYNC)
if (pci_async_enabled()) {
printf (", PCI async ext clock used");
} else {
OpenPOWER on IntegriCloud