diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-04 21:45:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-04 21:45:12 +0000 |
commit | d7023e105f6e632926b26132e2e8c916b81ef44f (patch) | |
tree | 7de83a74b515dc740f73318526c26784e0ccb29f /target | |
parent | 7a23eae2458dcbb05325d39707c35e8116aa10ec (diff) | |
download | upstream-d7023e105f6e632926b26132e2e8c916b81ef44f.tar.gz upstream-d7023e105f6e632926b26132e2e8c916b81ef44f.tar.bz2 upstream-d7023e105f6e632926b26132e2e8c916b81ef44f.zip |
ramips: enable highmem support for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45889
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/mt7621/config-3.18 | 12 | ||||
-rw-r--r-- | target/linux/ramips/patches-3.18/110-mt7621-add-highmem.patch | 10 |
2 files changed, 14 insertions, 8 deletions
diff --git a/target/linux/ramips/mt7621/config-3.18 b/target/linux/ramips/mt7621/config-3.18 index 0e03f7a696..ac9dd59e67 100644 --- a/target/linux/ramips/mt7621/config-3.18 +++ b/target/linux/ramips/mt7621/config-3.18 @@ -9,9 +9,11 @@ CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y CONFIG_ARCH_REQUIRE_GPIOLIB=y CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_BOARD_SCACHE=y +CONFIG_BOUNCE=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_CEVT_GIC is not set CONFIG_CEVT_R4K=y +# CONFIG_CEVT_SYSTICK_QUIRK is not set CONFIG_CLKDEV_LOOKUP=y CONFIG_CLONE_BACKWARDS=y CONFIG_CMDLINE="rootfstype=squashfs,jffs2" @@ -89,6 +91,7 @@ CONFIG_HAVE_NET_DSA=y CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_PERF_EVENTS=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HIGHMEM=y CONFIG_HW_HAS_PCI=y CONFIG_HZ_PERIODIC=y CONFIG_IMAGE_CMDLINE_HACK=y @@ -126,7 +129,6 @@ CONFIG_MTD_SPLIT_FIRMWARE=y CONFIG_MTD_SPLIT_SEAMA_FW=y CONFIG_MTD_SPLIT_TRX_FW=y CONFIG_MTD_SPLIT_UIMAGE_FW=y -# CONFIG_MTK_MTD_NAND is not set CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NET_FLOW_LIMIT=y CONFIG_NET_RALINK=y @@ -166,8 +168,6 @@ CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_SUPPLY=y # CONFIG_PREEMPT_RCU is not set CONFIG_RALINK=y -# CONFIG_RALINK_ILL_ACC is not set -CONFIG_RALINK_USBPHY=y # CONFIG_RALINK_WDT is not set CONFIG_RCU_STALL_COMMON=y CONFIG_RESET_CONTROLLER=y @@ -199,6 +199,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_LITTLE_ENDIAN=y CONFIG_SYS_SUPPORTS_MIPS16=y CONFIG_SYS_SUPPORTS_MIPS_CMP=y @@ -207,12 +208,7 @@ CONFIG_SYS_SUPPORTS_SCHED_SMT=y CONFIG_SYS_SUPPORTS_SMP=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TREE_RCU=y -# CONFIG_USB_EHCI_HCD is not set -CONFIG_USB_MT7621_XHCI_PLATFORM=y -CONFIG_USB_PHY=y CONFIG_USB_SUPPORT=y -# CONFIG_USB_UHCI_HCD is not set -CONFIG_USB_XHCI_PLATFORM=y CONFIG_USE_OF=y CONFIG_WATCHDOG_CORE=y CONFIG_WEAK_ORDERING=y diff --git a/target/linux/ramips/patches-3.18/110-mt7621-add-highmem.patch b/target/linux/ramips/patches-3.18/110-mt7621-add-highmem.patch new file mode 100644 index 0000000000..0a98151113 --- /dev/null +++ b/target/linux/ramips/patches-3.18/110-mt7621-add-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_CMP ++ select SYS_SUPPORTS_HIGHMEM + select IRQ_GIC + select HW_HAS_PCI + |