projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76415c
)
ppc: socrates: Drop use of DM_PCI
author
Simon Glass
<sjg@chromium.org>
Mon, 2 Aug 2021 00:54:28 +0000
(18:54 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 5 Aug 2021 23:46:35 +0000
(19:46 -0400)
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>
board/socrates/socrates.c
patch
|
blob
|
history
diff --git
a/board/socrates/socrates.c
b/board/socrates/socrates.c
index 3444af6a8c7f1e10553acb609e7f682445554219..3ba2fbbd56040f341c6cc6599917036fe6fe8ac7 100644
(file)
--- 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;
}