aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-04-12 21:21:56 +0000
committerJohn Crispin <blogic@openwrt.org>2014-04-12 21:21:56 +0000
commit1cd890aa1bba73302eea8a926bb51c73a093f9f8 (patch)
tree618a04059f101b7131f7c417490c0a78735d3dc8 /target
parent3e74690bae85cb543d3d01515349c55da6f51136 (diff)
downloadmaster-187ad058-1cd890aa1bba73302eea8a926bb51c73a093f9f8.tar.gz
master-187ad058-1cd890aa1bba73302eea8a926bb51c73a093f9f8.tar.bz2
master-187ad058-1cd890aa1bba73302eea8a926bb51c73a093f9f8.zip
Fix pinmux-rt2880
The last arg to FUNC() is count, not last pin. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-3.10/0217-pinmux-rt2880.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/patches-3.10/0217-pinmux-rt2880.patch b/target/linux/ramips/patches-3.10/0217-pinmux-rt2880.patch
index 3cadce737d..6821da13cb 100644
--- a/target/linux/ramips/patches-3.10/0217-pinmux-rt2880.patch
+++ b/target/linux/ramips/patches-3.10/0217-pinmux-rt2880.patch
@@ -46,12 +46,12 @@
- .gpio_last = 71,
- }, {0}
+static struct rt2880_pmx_func i2c_func[] = { FUNC("i2c", 0, 1, 2) };
-+static struct rt2880_pmx_func spi_func[] = { FUNC("spi", 0, 3, 6) };
-+static struct rt2880_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 7, 14) };
-+static struct rt2880_pmx_func jtag_func[] = { FUNC("jtag", 0, 17, 21) };
-+static struct rt2880_pmx_func mdio_func[] = { FUNC("mdio", 0, 22, 23) };
-+static struct rt2880_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 39) };
-+static struct rt2880_pmx_func pci_func[] = { FUNC("pci", 0, 40, 71) };
++static struct rt2880_pmx_func spi_func[] = { FUNC("spi", 0, 3, 4) };
++static struct rt2880_pmx_func uartlite_func[] = { FUNC("uartlite", 0, 7, 8) };
++static struct rt2880_pmx_func jtag_func[] = { FUNC("jtag", 0, 17, 5) };
++static struct rt2880_pmx_func mdio_func[] = { FUNC("mdio", 0, 22, 2) };
++static struct rt2880_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 16) };
++static struct rt2880_pmx_func pci_func[] = { FUNC("pci", 0, 40, 32) };
+
+static struct rt2880_pmx_group rt2880_pinmux_data_act[] = {
+ GRP("i2c", i2c_func, 1, RT2880_GPIO_MODE_I2C),