diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2008-07-11 15:13:12 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2008-07-11 15:13:12 +0000 |
commit | 4e02a6be0b33ce5f7502e7ea6154fcaf68a27c1b (patch) | |
tree | 18f42baa91b23399ed15a3d8fae7ddd39df0a78a /target/linux/ixp4xx/patches-2.6.26 | |
parent | 3ef97f4b82b26e3fb345640ef38c906a9c00344d (diff) | |
download | master-187ad058-4e02a6be0b33ce5f7502e7ea6154fcaf68a27c1b.tar.gz master-187ad058-4e02a6be0b33ce5f7502e7ea6154fcaf68a27c1b.tar.bz2 master-187ad058-4e02a6be0b33ce5f7502e7ea6154fcaf68a27c1b.zip |
swap chipselects on the Pronghorn series
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11767 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.26')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch | 18 |
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 5a19af63a3..45589a8626 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); + } |