mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
7bbf4117c6
This add support for kernel 4.9 to the ar71xx target. It was compile tested with the generic, NAND and mikrotik subtarget. Multiple members of the community tested it on their boards and did not report any major problem so far. Especially the NAND part received some changes to adapt to the new kernel APIs. The serial driver hack used for the Arduino Yun was not ported because the kernel changed there a lot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 lines
751 B
Diff
29 lines
751 B
Diff
--- a/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
|
|
+++ b/arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h
|
|
@@ -36,6 +36,7 @@
|
|
#define cpu_has_mdmx 0
|
|
#define cpu_has_mips3d 0
|
|
#define cpu_has_smartmips 0
|
|
+#define cpu_has_rixi 0
|
|
|
|
#define cpu_has_mips32r1 1
|
|
#define cpu_has_mips32r2 1
|
|
@@ -43,6 +44,7 @@
|
|
#define cpu_has_mips64r2 0
|
|
|
|
#define cpu_has_mipsmt 0
|
|
+#define cpu_has_userlocal 0
|
|
|
|
#define cpu_has_64bits 0
|
|
#define cpu_has_64bit_zero_reg 0
|
|
@@ -51,5 +53,9 @@
|
|
|
|
#define cpu_dcache_line_size() 32
|
|
#define cpu_icache_line_size() 32
|
|
+#define cpu_has_vtag_icache 0
|
|
+#define cpu_has_dc_aliases 1
|
|
+#define cpu_has_ic_fills_f_dc 0
|
|
+#define cpu_has_pindexed_dcache 0
|
|
|
|
#endif /* __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H */
|