aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-13 02:58:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-13 02:58:49 +0000
commitf305457b87c0916695c2681d0353e83fbc7afff6 (patch)
treec8a8cc1e2c1632a79a5031436278c527be8d077a /target/linux
parent36ac89d1688676649375f33f354d21d929fa8dae (diff)
downloadupstream-f305457b87c0916695c2681d0353e83fbc7afff6.tar.gz
upstream-f305457b87c0916695c2681d0353e83fbc7afff6.tar.bz2
upstream-f305457b87c0916695c2681d0353e83fbc7afff6.zip
atheros: v3.18: cleanup cpu-feature-overrides.h
Remove mention of undefined features. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44711 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/atheros/patches-3.18/100-board.patch22
1 files changed, 1 insertions, 21 deletions
diff --git a/target/linux/atheros/patches-3.18/100-board.patch b/target/linux/atheros/patches-3.18/100-board.patch
index abf19641bc..b224c3585b 100644
--- a/target/linux/atheros/patches-3.18/100-board.patch
+++ b/target/linux/atheros/patches-3.18/100-board.patch
@@ -436,7 +436,7 @@
+#endif /* __ASM_MACH_ATH25_PLATFORM_H */
--- /dev/null
+++ b/arch/mips/include/asm/mach-ath25/cpu-feature-overrides.h
-@@ -0,0 +1,84 @@
+@@ -0,0 +1,64 @@
+/*
+ * Atheros AR231x/AR531x SoC specific CPU feature overrides
+ *
@@ -466,13 +466,6 @@
+#define cpu_has_fpu 0
+#define cpu_has_32fpr 0
+#define cpu_has_counter 1
-+/* #define cpu_has_watch ? */
-+/* #define cpu_has_divec ? */
-+/* #define cpu_has_vce ? */
-+/* #define cpu_has_cache_cdex_p ? */
-+/* #define cpu_has_cache_cdex_s ? */
-+/* #define cpu_has_prefetch ? */
-+/* #define cpu_has_mcheck ? */
+#define cpu_has_ejtag 1
+
+#if !defined(CONFIG_SOC_AR5312)
@@ -490,13 +483,6 @@
+#define cpu_has_mips3d 0
+#define cpu_has_smartmips 0
+
-+/* #define cpu_has_vtag_icache ? */
-+/* #define cpu_has_dc_aliases ? */
-+/* #define cpu_has_ic_fills_f_dc ? */
-+/* #define cpu_has_pindexed_dcache ? */
-+
-+/* #define cpu_icache_snoops_remote_store ? */
-+
+#define cpu_has_mips32r1 1
+
+#if !defined(CONFIG_SOC_AR5312)
@@ -509,17 +495,11 @@
+#define cpu_has_dsp 0
+#define cpu_has_mipsmt 0
+
-+/* #define cpu_has_nofpuex ? */
+#define cpu_has_64bits 0
+#define cpu_has_64bit_zero_reg 0
+#define cpu_has_64bit_gp_regs 0
+#define cpu_has_64bit_addresses 0
+
-+/* #define cpu_has_inclusive_pcaches ? */
-+
-+/* #define cpu_dcache_line_size() ? */
-+/* #define cpu_icache_line_size() ? */
-+
+#endif /* __ASM_MACH_ATH25_CPU_FEATURE_OVERRIDES_H */
--- /dev/null
+++ b/arch/mips/include/asm/mach-ath25/dma-coherence.h