]> git.sur5r.net Git - u-boot/commitdiff
[GP3SSA] Add define CONFIG_MPC85XX_PCI2 in config file to allow u-boot to
authorGrzegorz Bernacki <gjb@semihalf.com>
Tue, 11 Sep 2007 13:42:11 +0000 (15:42 +0200)
committerGrzegorz Bernacki <gjb@semihalf.com>
Tue, 11 Sep 2007 13:42:11 +0000 (15:42 +0200)
scan on second pci bus.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
board/stxssa/stxssa.c
include/configs/stxssa.h

index 5882124150e49dc479e300e21483ff87a2c0be8e..9a2bfbef8e47e05cea28d720ab4bfbb5eb8391d9 100644 (file)
@@ -378,9 +378,12 @@ static struct pci_config_table pci_stxgp3_config_table[] = {
 #endif
 
 
-static struct pci_controller hose = {
+static struct pci_controller hose[] = {
 #ifndef CONFIG_PCI_PNP
-       config_table: pci_stxgp3_config_table,
+       { config_table: pci_stxgp3_config_table,},
+#ifdef CONFIG_MPC85XX_PCI2
+       {},
+#endif
 #endif
 };
 
@@ -393,6 +396,6 @@ pci_init_board(void)
 #ifdef CONFIG_PCI
        extern void pci_mpc85xx_init(struct pci_controller *hose);
 
-       pci_mpc85xx_init(&hose);
+       pci_mpc85xx_init(hose);
 #endif /* CONFIG_PCI */
 }
index f32ff67d9f46f95d4ebdb9bd4269f995d84fb58b..b41dafaf986e4cc12b7d292c8d90eccaa49b53e0 100644 (file)
 #define CFG_PCI2_IO_SIZE       0x01000000      /* 16M */
 
 #if defined(CONFIG_PCI)                /* PCI Ethernet card */
-
+#define CONFIG_MPC85XX_PCI2    1
 #define CONFIG_NET_MULTI
 #define CONFIG_PCI_PNP                 /* do pci plug-and-play */