Selaa lähdekoodia

ppc4xx: Remove PCI async bootup message if PCI is not used

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 16 vuotta sitten
vanhempi
commit
1bbae2b816
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      cpu/ppc4xx/cpu.c

+ 1 - 1
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 {