ramips: rt3883: fix build error

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36451
master
Gabor Juhos 12 years ago
parent 05c1424e87
commit c63bb1a18e
  1. 3
      target/linux/ramips/patches-3.8/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch
  2. 2
      target/linux/ramips/patches-3.8/0125-MIPS-ralink-add-memory-definition-for-RT3883.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

@ -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

Loading…
Cancel
Save