summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-04-26 16:55:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-04-26 16:55:28 +0000
commitc63bb1a18e04c1b72f18bf0b77491933818d08d0 (patch)
tree17e355433bcc89377eda7631f64decc20678fb59
parent05c1424e8739c4f9d66637bc6ff413ac3c08d1fe (diff)
downloadmtk-20170518-c63bb1a18e04c1b72f18bf0b77491933818d08d0.zip
mtk-20170518-c63bb1a18e04c1b72f18bf0b77491933818d08d0.tar.gz
mtk-20170518-c63bb1a18e04c1b72f18bf0b77491933818d08d0.tar.bz2
ramips: rt3883: fix build error
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36451
-rw-r--r--target/linux/ramips/patches-3.8/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch3
-rw-r--r--target/linux/ramips/patches-3.8/0125-MIPS-ralink-add-memory-definition-for-RT3883.patch2
2 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-3.8/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch b/target/linux/ramips/patches-3.8/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch
index f744e62..162d0cc 100644
--- a/target/linux/ramips/patches-3.8/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch
+++ b/target/linux/ramips/patches-3.8/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch
@@ -22,7 +22,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5185/
--- /dev/null
+++ b/arch/mips/include/asm/mach-ralink/rt3883.h
-@@ -0,0 +1,247 @@
+@@ -0,0 +1,248 @@
+/*
+ * Ralink RT3662/RT3883 SoC register definitions
+ *
@@ -177,6 +177,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5185/
+#define RT3883_GPIO_SPI_MISO 6
+#define RT3883_GPIO_7 7
+#define RT3883_GPIO_10 10
++#define RT3883_GPIO_11 11
+#define RT3883_GPIO_14 14
+#define RT3883_GPIO_UART1_TXD 15
+#define RT3883_GPIO_UART1_RXD 16
diff --git a/target/linux/ramips/patches-3.8/0125-MIPS-ralink-add-memory-definition-for-RT3883.patch b/target/linux/ramips/patches-3.8/0125-MIPS-ralink-add-memory-definition-for-RT3883.patch
index f1fa46b..2c015ad 100644
--- a/target/linux/ramips/patches-3.8/0125-MIPS-ralink-add-memory-definition-for-RT3883.patch
+++ b/target/linux/ramips/patches-3.8/0125-MIPS-ralink-add-memory-definition-for-RT3883.patch
@@ -14,7 +14,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5182/
--- a/arch/mips/include/asm/mach-ralink/rt3883.h
+++ b/arch/mips/include/asm/mach-ralink/rt3883.h
-@@ -244,4 +244,8 @@
+@@ -245,4 +245,8 @@
#define RT3883_FLASH_CFG_WIDTH_16BIT 0x1
#define RT3883_FLASH_CFG_WIDTH_32BIT 0x2