[OpenWrt-Devel] [PATCH 2/4] ralink: add HIGHMEM support for mt7621
wengbj
fl.service at t-firefly.com
Tue Apr 28 05:55:59 EDT 2015
Signed-off-by: wengbj <fl.service at t-firefly.com>
---
target/linux/ramips/mt7621/config-3.18 | 1 +
.../0112-add-mt7621-support-high-memory.patch | 13 +++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 target/linux/ramips/patches-3.18/0112-add-mt7621-support-high-memory.patch
diff --git a/target/linux/ramips/mt7621/config-3.18 b/target/linux/ramips/mt7621/config-3.18
index 11d372b..dcc7b5a 100644
--- a/target/linux/ramips/mt7621/config-3.18
+++ b/target/linux/ramips/mt7621/config-3.18
@@ -217,3 +217,4 @@ CONFIG_WATCHDOG_CORE=y
CONFIG_WEAK_ORDERING=y
CONFIG_XPS=y
CONFIG_ZONE_DMA_FLAG=0
+CONFIG_BOUNCE=y
diff --git a/target/linux/ramips/patches-3.18/0112-add-mt7621-support-high-memory.patch b/target/linux/ramips/patches-3.18/0112-add-mt7621-support-high-memory.patch
new file mode 100644
index 0000000..b3df1c5
--- /dev/null
+++ b/target/linux/ramips/patches-3.18/0112-add-mt7621-support-high-memory.patch
@@ -0,0 +1,13 @@
+Index: linux-3.18.11/arch/mips/ralink/Kconfig
+===================================================================
+--- linux-3.18.11.orig/arch/mips/ralink/Kconfig 2015-04-28 17:30:50.631568808 +0800
++++ linux-3.18.11/arch/mips/ralink/Kconfig 2015-04-28 17:32:10.167567161 +0800
+@@ -46,6 +46,8 @@
+ select SYS_SUPPORTS_MULTITHREADING
+ select SYS_SUPPORTS_SMP
+ select SYS_SUPPORTS_MIPS_CMP
++ select SYS_SUPPORTS_HIGHMEM
++ select HIGHMEM
+ select IRQ_GIC
+ select HW_HAS_PCI
+
--
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list