summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-07-11 15:13:12 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-07-11 15:13:12 +0000
commit065091e0152a13dab298f115973aebdf589d724f (patch)
treeabbb304a05713e319c0fc3a774763e2f974644f8 /target
parent6ce90189ad1aabb002d6cf07621a10fb51449975 (diff)
downloadmtk-20170518-065091e0152a13dab298f115973aebdf589d724f.zip
mtk-20170518-065091e0152a13dab298f115973aebdf589d724f.tar.gz
mtk-20170518-065091e0152a13dab298f115973aebdf589d724f.tar.bz2
swap chipselects on the Pronghorn series
SVN-Revision: 11767
Diffstat (limited to 'target')
-rw-r--r--target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch b/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch
index 5a19af6..45589a8 100644
--- a/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch
@@ -328,15 +328,6 @@
+ platform_add_devices(pronghorn_devices, ARRAY_SIZE(pronghorn_devices));
+
+ if (machine_is_pronghorn()) {
-+ pronghorn_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(3);
-+ pronghorn_pata_resources[0].end = IXP4XX_EXP_BUS_END(3);
-+
-+ pronghorn_pata_resources[1].start = IXP4XX_EXP_BUS_BASE(4);
-+ pronghorn_pata_resources[1].end = IXP4XX_EXP_BUS_END(4);
-+
-+ pronghorn_pata_data.cs0_cfg = IXP4XX_EXP_CS3;
-+ pronghorn_pata_data.cs1_cfg = IXP4XX_EXP_CS4;
-+ } else {
+ pronghorn_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(2);
+ pronghorn_pata_resources[0].end = IXP4XX_EXP_BUS_END(2);
+
@@ -345,6 +336,15 @@
+
+ pronghorn_pata_data.cs0_cfg = IXP4XX_EXP_CS2;
+ pronghorn_pata_data.cs1_cfg = IXP4XX_EXP_CS3;
++ } else {
++ pronghorn_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(3);
++ pronghorn_pata_resources[0].end = IXP4XX_EXP_BUS_END(3);
++
++ pronghorn_pata_resources[1].start = IXP4XX_EXP_BUS_BASE(4);
++ pronghorn_pata_resources[1].end = IXP4XX_EXP_BUS_END(4);
++
++ pronghorn_pata_data.cs0_cfg = IXP4XX_EXP_CS3;
++ pronghorn_pata_data.cs1_cfg = IXP4XX_EXP_CS4;
+
+ platform_device_register(&pronghorn_i2c_gpio);
+ }