Skip to content
Snippets Groups Projects
Commit 38ad82da authored by Grzegorz Bernacki's avatar Grzegorz Bernacki
Browse files

[GP3SSA] Add define CONFIG_MPC85XX_PCI2 in config file to allow u-boot to

scan on second pci bus.

Signed-off-by: default avatarGrzegorz Bernacki <gjb@semihalf.com>
parent 6c2f4f38
No related branches found
No related tags found
No related merge requests found
...@@ -378,9 +378,12 @@ static struct pci_config_table pci_stxgp3_config_table[] = { ...@@ -378,9 +378,12 @@ static struct pci_config_table pci_stxgp3_config_table[] = {
#endif #endif
static struct pci_controller hose = { static struct pci_controller hose[] = {
#ifndef CONFIG_PCI_PNP #ifndef CONFIG_PCI_PNP
config_table: pci_stxgp3_config_table, { config_table: pci_stxgp3_config_table,},
#ifdef CONFIG_MPC85XX_PCI2
{},
#endif
#endif #endif
}; };
...@@ -393,6 +396,6 @@ pci_init_board(void) ...@@ -393,6 +396,6 @@ pci_init_board(void)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
extern void pci_mpc85xx_init(struct pci_controller *hose); extern void pci_mpc85xx_init(struct pci_controller *hose);
pci_mpc85xx_init(&hose); pci_mpc85xx_init(hose);
#endif /* CONFIG_PCI */ #endif /* CONFIG_PCI */
} }
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
#define CFG_PCI2_IO_SIZE 0x01000000 /* 16M */ #define CFG_PCI2_IO_SIZE 0x01000000 /* 16M */
#if defined(CONFIG_PCI) /* PCI Ethernet card */ #if defined(CONFIG_PCI) /* PCI Ethernet card */
#define CONFIG_MPC85XX_PCI2 1
#define CONFIG_NET_MULTI #define CONFIG_NET_MULTI
#define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_PNP /* do pci plug-and-play */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment