diff options
author | Zhao Chenhui <chenhui.zhao@freescale.com> | 2011-08-24 13:20:04 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-09-09 08:58:11 -0500 |
commit | b813cbe916f2ac5869b01cf19db49d1f542274bd (patch) | |
tree | 0f4f0edec14265272a2c762b5c0067263cc59f05 /board | |
parent | b092072e4780c1b1aaf5579e7bf887ebf0ccbdc0 (diff) | |
download | u-boot-imx-b813cbe916f2ac5869b01cf19db49d1f542274bd.zip u-boot-imx-b813cbe916f2ac5869b01cf19db49d1f542274bd.tar.gz u-boot-imx-b813cbe916f2ac5869b01cf19db49d1f542274bd.tar.bz2 |
powerpc/mpc8548cds: set pci1_hose.config_table after fsl_setup_hose
The function fsl_setup_hose clears the variable pci1_hose.
Set pci1_hose.config_table after it.
Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mpc8548cds/mpc8548cds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index f5c799b..5ffae47 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -1,5 +1,5 @@ /* - * Copyright 2004, 2007, 2009-2010 Freescale Semiconductor, Inc. + * Copyright 2004, 2007, 2009-2011 Freescale Semiconductor, Inc. * * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com> * @@ -207,8 +207,7 @@ static struct pci_config_table pci_mpc85xxcds_config_table[] = { {}, }; -static struct pci_controller pci1_hose = { - config_table: pci_mpc85xxcds_config_table}; +static struct pci_controller pci1_hose; #endif /* CONFIG_PCI */ #ifdef CONFIG_PCI2 @@ -253,6 +252,7 @@ void pci_init_board(void) pci_arb ? "arbiter" : "external-arbiter", pci_info.regs); + pci1_hose.config_table = pci_mpc85xxcds_config_table; first_free_busno = fsl_pci_init_port(&pci_info, &pci1_hose, first_free_busno); |