diff options
author | Saeed Bishara <saeed@marvell.com> | 2010-06-08 07:21:34 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-07-16 22:01:59 -0400 |
commit | ffd58bd2e45168de21d257d26ee32843b286d3b3 (patch) | |
tree | 6015a09c82add039c532a6cc41502c5eae31ccd4 /arch/arm/mach-kirkwood/common.h | |
parent | 35fe2fc44ac4202261317ccce2ef69991bc01c57 (diff) |
[ARM] Kirkwood: add support for PCIe1
This patch extends the kirkwood's PCIe support up to 2 controllers as in the 6282 devices.
Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.h')
-rw-r--r-- | arch/arm/mach-kirkwood/common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h index 05e8a8a5692e..5b2c1c18d641 100644 --- a/arch/arm/mach-kirkwood/common.h +++ b/arch/arm/mach-kirkwood/common.h | |||
@@ -18,6 +18,9 @@ struct mvsdio_platform_data; | |||
18 | struct mtd_partition; | 18 | struct mtd_partition; |
19 | struct mtd_info; | 19 | struct mtd_info; |
20 | 20 | ||
21 | #define KW_PCIE0 (1 << 0) | ||
22 | #define KW_PCIE1 (1 << 1) | ||
23 | |||
21 | /* | 24 | /* |
22 | * Basic Kirkwood init functions used early by machine-setup. | 25 | * Basic Kirkwood init functions used early by machine-setup. |
23 | */ | 26 | */ |
@@ -34,7 +37,7 @@ void kirkwood_ehci_init(void); | |||
34 | void kirkwood_ge00_init(struct mv643xx_eth_platform_data *eth_data); | 37 | void kirkwood_ge00_init(struct mv643xx_eth_platform_data *eth_data); |
35 | void kirkwood_ge01_init(struct mv643xx_eth_platform_data *eth_data); | 38 | void kirkwood_ge01_init(struct mv643xx_eth_platform_data *eth_data); |
36 | void kirkwood_ge00_switch_init(struct dsa_platform_data *d, int irq); | 39 | void kirkwood_ge00_switch_init(struct dsa_platform_data *d, int irq); |
37 | void kirkwood_pcie_init(void); | 40 | void kirkwood_pcie_init(unsigned int portmask); |
38 | void kirkwood_sata_init(struct mv_sata_platform_data *sata_data); | 41 | void kirkwood_sata_init(struct mv_sata_platform_data *sata_data); |
39 | void kirkwood_sdio_init(struct mvsdio_platform_data *mvsdio_data); | 42 | void kirkwood_sdio_init(struct mvsdio_platform_data *mvsdio_data); |
40 | void kirkwood_spi_init(void); | 43 | void kirkwood_spi_init(void); |