summaryrefslogtreecommitdiff
path: root/board/socrates
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-01 18:54:28 -0600
committerTom Rini <trini@konsulko.com>2021-08-05 19:46:35 -0400
commit0ecc7a0cbf127f426a8ed5a974012d5a1e6d6d34 (patch)
treeb5cde0ba1cee9a7be84cf7c361e90b80284c8f07 /board/socrates
parentd76415c251123086388d64609f72449e0b26f55b (diff)
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>
Diffstat (limited to 'board/socrates')
-rw-r--r--board/socrates/socrates.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c
index 3444af6a8c..3ba2fbbd56 100644
--- a/board/socrates/socrates.c
+++ b/board/socrates/socrates.c
@@ -53,7 +53,7 @@ int checkboard (void)
}
putc('\n');
-#if defined(CONFIG_PCI) || defined(CONFIG_DM_PCI)
+#if defined(CONFIG_PCI)
/* Check the PCI_clk sel bit */
if (in_be32(&gur->porpllsr) & (1<<15)) {
src = "SYSCLK";
@@ -130,9 +130,7 @@ int misc_init_r (void)
&flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
}
-#if defined(CONFIG_DM_PCI)
pci_init();
-#endif
return 0;
}