summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc8xxx/pci_cfg.c
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2010-04-14 19:05:06 +0800
committerKumar Gala <galak@kernel.crashing.org>2010-04-26 22:37:56 -0500
commit0c955dafab495fef5a76f5383387281d0408056c (patch)
treea879423ccf8d27b81e393543200a405ae7647cd4 /arch/powerpc/cpu/mpc8xxx/pci_cfg.c
parent47106ce168890d637fd849682ba88ecfdb9c35de (diff)
downloadu-boot-imx-0c955dafab495fef5a76f5383387281d0408056c.zip
u-boot-imx-0c955dafab495fef5a76f5383387281d0408056c.tar.gz
u-boot-imx-0c955dafab495fef5a76f5383387281d0408056c.tar.bz2
85xx: clean up the io_sel for PCI express of P1022
clean up the wrong io_sel for PCI express according to latest manual. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/pci_cfg.c')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/pci_cfg.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/pci_cfg.c b/arch/powerpc/cpu/mpc8xxx/pci_cfg.c
index 9b7181d..85995ca 100644
--- a/arch/powerpc/cpu/mpc8xxx/pci_cfg.c
+++ b/arch/powerpc/cpu/mpc8xxx/pci_cfg.c
@@ -176,15 +176,14 @@ static struct pci_info pci_config_info[] =
(1 << 0x1d) | (1 << 0x1e) | (1 << 0x1f),
},
[LAW_TRGT_IF_PCIE_2] = {
- .cfg = (1 << 0) | (1 << 1) | (1 << 6) | (1 << 7) |
- (1 << 9) | (1 << 0xa) | (1 << 0xb) | (1 << 0xd) |
- (1 << 0x15) | (1 << 0x16) | (1 << 0x17) |
- (1 << 0x18) | (1 << 0x1c),
+ .cfg = (1 << 1) | (1 << 6) | (1 << 7) | (1 << 9) |
+ (1 << 0xd) | (1 << 0x15) | (1 << 0x16) | (1 << 0x17) |
+ (1 << 0x18) | (1 << 0x19) | (1 << 0x1a) | (1 << 0x1b),
},
[LAW_TRGT_IF_PCIE_3] = {
- .cfg = (1 << 6) | (1 << 7) | (1 << 9) | (1 << 0xd) |
- (1 << 0x15) | (1 << 0x16) | (1 << 0x17) | (1 << 0x18) |
- (1 << 0x19) | (1 << 0x1a) | (1 << 0x1b),
+ .cfg = (1 << 0) | (1 << 1) | (1 << 6) | (1 << 7) | (1 << 9) |
+ (1 << 0xa) | (1 << 0xb) | (1 << 0xd) | (1 << 0x15) |
+ (1 << 0x16) | (1 << 0x17) | (1 << 0x18) | (1 << 0x1c),
},
};
#elif defined(CONFIG_P2010) || defined(CONFIG_P2020)