diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2011-07-01 08:15:48 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2011-07-01 08:15:48 +0000 |
commit | b655c7c85a2c1bf8988b67c8c5049eda6cc9e103 (patch) | |
tree | 6f84c713dda603cbbb15e112584003a9aa715d85 /target/linux/cns3xxx/patches-3.0/054-cns3xxx_pcie_clock.patch | |
parent | 8222c7bb24d8b9c87aedab8f2edb75ae42f2c631 (diff) | |
download | upstream-b655c7c85a2c1bf8988b67c8c5049eda6cc9e103.tar.gz upstream-b655c7c85a2c1bf8988b67c8c5049eda6cc9e103.tar.bz2 upstream-b655c7c85a2c1bf8988b67c8c5049eda6cc9e103.zip |
preliminary 3.0 support
SVN-Revision: 27328
Diffstat (limited to 'target/linux/cns3xxx/patches-3.0/054-cns3xxx_pcie_clock.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.0/054-cns3xxx_pcie_clock.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.0/054-cns3xxx_pcie_clock.patch b/target/linux/cns3xxx/patches-3.0/054-cns3xxx_pcie_clock.patch new file mode 100644 index 0000000000..e7180b0605 --- /dev/null +++ b/target/linux/cns3xxx/patches-3.0/054-cns3xxx_pcie_clock.patch @@ -0,0 +1,11 @@ +--- a/arch/arm/mach-cns3xxx/pcie.c ++++ b/arch/arm/mach-cns3xxx/pcie.c +@@ -375,8 +375,6 @@ static int __init cns3xxx_pcie_init(void + for (i = 0; i < ARRAY_SIZE(cns3xxx_pcie); i++) { + iotable_init(cns3xxx_pcie[i].cfg_bases, + ARRAY_SIZE(cns3xxx_pcie[i].cfg_bases)); +- cns3xxx_pwr_clk_en(0x1 << PM_CLK_GATE_REG_OFFSET_PCIE(i)); +- cns3xxx_pwr_soft_rst(0x1 << PM_SOFT_RST_REG_OFFST_PCIE(i)); + cns3xxx_pcie_check_link(&cns3xxx_pcie[i]); + cns3xxx_pcie_hw_init(&cns3xxx_pcie[i]); + pci_common_init(&cns3xxx_pcie[i].hw_pci); |