diff options
author | Grzegorz Bernacki <gjb@semihalf.com> | 2007-09-11 15:42:11 +0200 |
---|---|---|
committer | Grzegorz Bernacki <gjb@semihalf.com> | 2007-09-11 15:42:11 +0200 |
commit | 38ad82da0c1180ecdeb212a8f4245e945bcc546e (patch) | |
tree | f3beccf5727d2b169e8481601f2dc1c211490eea /board/stxssa | |
parent | 6c2f4f388e8181655ea8b69343ea00b68aa6e8d0 (diff) | |
download | u-boot-imx-38ad82da0c1180ecdeb212a8f4245e945bcc546e.zip u-boot-imx-38ad82da0c1180ecdeb212a8f4245e945bcc546e.tar.gz u-boot-imx-38ad82da0c1180ecdeb212a8f4245e945bcc546e.tar.bz2 |
[GP3SSA] Add define CONFIG_MPC85XX_PCI2 in config file to allow u-boot to
scan on second pci bus.
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Diffstat (limited to 'board/stxssa')
-rw-r--r-- | board/stxssa/stxssa.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/board/stxssa/stxssa.c b/board/stxssa/stxssa.c index 5882124..9a2bfbe 100644 --- a/board/stxssa/stxssa.c +++ b/board/stxssa/stxssa.c @@ -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 */ } |