Browse Source

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

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 16 năm trước cách đây
mục cha
commit
1bbae2b816
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {