aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-24 00:16:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-24 00:16:32 +0000
commit6f8d6477788b764e2338ac9443bf1ece13a16ba3 (patch)
treecaff551ae9e20298c3b0c94b2bc7cacb0c8704f5
parente756c2bb074207857bb7780cfd31a04eda745635 (diff)
downloadupstream-6f8d6477788b764e2338ac9443bf1ece13a16ba3.tar.gz
upstream-6f8d6477788b764e2338ac9443bf1ece13a16ba3.tar.bz2
upstream-6f8d6477788b764e2338ac9443bf1ece13a16ba3.zip
ramips: re-enable highmem support for MT7621 now that it's fixed
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48469
-rw-r--r--target/linux/ramips/mt7621/config-4.33
-rw-r--r--target/linux/ramips/patches-4.3/0066-mt7621-enable-highmem.patch10
2 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/config-4.3 b/target/linux/ramips/mt7621/config-4.3
index db240f075d..a70dc264d8 100644
--- a/target/linux/ramips/mt7621/config-4.3
+++ b/target/linux/ramips/mt7621/config-4.3
@@ -13,6 +13,7 @@ CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_BOARD_SCACHE=y
+CONFIG_BOUNCE=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_CEVT_R4K=y
# CONFIG_CEVT_SYSTICK_QUIRK is not set
@@ -106,6 +107,7 @@ CONFIG_HAVE_OPROFILE=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
+CONFIG_HIGHMEM=y
CONFIG_HW_HAS_PCI=y
CONFIG_HZ_PERIODIC=y
CONFIG_INITRAMFS_SOURCE=""
@@ -235,6 +237,7 @@ CONFIG_SYS_HAS_CPU_MIPS32_R2=y
CONFIG_SYS_HAS_EARLY_PRINTK=y
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
+CONFIG_SYS_SUPPORTS_HIGHMEM=y
CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y
CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
CONFIG_SYS_SUPPORTS_MIPS16=y
diff --git a/target/linux/ramips/patches-4.3/0066-mt7621-enable-highmem.patch b/target/linux/ramips/patches-4.3/0066-mt7621-enable-highmem.patch
new file mode 100644
index 0000000000..50f32da629
--- /dev/null
+++ b/target/linux/ramips/patches-4.3/0066-mt7621-enable-highmem.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ralink/Kconfig
++++ b/arch/mips/ralink/Kconfig
+@@ -51,6 +51,7 @@ choice
+ select SYS_SUPPORTS_MULTITHREADING
+ select SYS_SUPPORTS_SMP
+ select SYS_SUPPORTS_MIPS_CPS
++ select SYS_SUPPORTS_HIGHMEM
+ select MIPS_GIC
+ select COMMON_CLK
+ select CLKSRC_MIPS_GIC