aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc83xx
diff options
context:
space:
mode:
authorSinan Akman <sinan@writeme.com>2021-05-11 14:18:02 -0400
committerTom Rini <trini@konsulko.com>2021-07-06 14:07:36 -0400
commitc8be85f3ffdc3a3cb51d1b54a9b5737c830b7fbe (patch)
tree550e74b7b7092471da18616aa7ce0d71e4f2a09a /arch/powerpc/cpu/mpc83xx
parent1311dd37ecf476be041d0452d4ee38619aadd5de (diff)
downloadu-boot-c8be85f3ffdc3a3cb51d1b54a9b5737c830b7fbe.zip
u-boot-c8be85f3ffdc3a3cb51d1b54a9b5737c830b7fbe.tar.gz
u-boot-c8be85f3ffdc3a3cb51d1b54a9b5737c830b7fbe.tar.bz2
mpc8379erdb: enable DM_USB DM_PCI DM_ETH
Signed-off-by: Sinan Akman <sinan@writeme.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx')
-rw-r--r--arch/powerpc/cpu/mpc83xx/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/pci.c b/arch/powerpc/cpu/mpc83xx/pci.c
index 5c289d0..507ab34 100644
--- a/arch/powerpc/cpu/mpc83xx/pci.c
+++ b/arch/powerpc/cpu/mpc83xx/pci.c
@@ -27,6 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
static struct pci_controller pci_hose[MAX_BUSES];
static int pci_num_buses;
+#if !defined(CONFIG_DM_PCI)
static void pci_init_bus(int bus, struct pci_region *reg)
{
volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR;
@@ -184,6 +185,7 @@ void mpc83xx_pcislave_unlock(int bus)
hose->last_busno = pci_hose_scan(hose);
}
#endif
+#endif /* CONFIG_DM_PCI */
#if defined(CONFIG_OF_LIBFDT)
void ft_pci_setup(void *blob, struct bd_info *bd)