Преглед изворни кода

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

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese пре 16 година
родитељ
комит
1bbae2b816
1 измењених фајлова са 1 додато и 1 уклоњено
  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 {