[U-Boot] [PATCH] ppc4xx: Remove PCI async bootup message if PCI is not used
Stefan Roese
sr at denx.de
Wed May 27 10:34:32 CEST 2009
Signed-off-by: Stefan Roese <sr at denx.de>
---
cpu/ppc4xx/cpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 9a6a8d7..06f44ad 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 {
--
1.6.2.5
More information about the U-Boot
mailing list