Procházet zdrojové kódy

ppc: socrates: Drop use of DM_PCI

Now that DM_PCI is always enabled we don't need to check it. Drop this
old code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass před 2 roky
rodič
revize
0ecc7a0cbf
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      board/socrates/socrates.c

+ 1 - 3
board/socrates/socrates.c

@@ -53,7 +53,7 @@ int checkboard (void)
 	}
 	}
 	putc('\n');
 	putc('\n');
 
 
-#if defined(CONFIG_PCI) || defined(CONFIG_DM_PCI)
+#if defined(CONFIG_PCI)
 	/* Check the PCI_clk sel bit */
 	/* Check the PCI_clk sel bit */
 	if (in_be32(&gur->porpllsr) & (1<<15)) {
 	if (in_be32(&gur->porpllsr) & (1<<15)) {
 		src = "SYSCLK";
 		src = "SYSCLK";
@@ -130,9 +130,7 @@ int misc_init_r (void)
 			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 	}
 	}
 
 
-#if defined(CONFIG_DM_PCI)
 	pci_init();
 	pci_init();
-#endif
 
 
 	return 0;
 	return 0;
 }
 }