[LEDE-DEV] [PATCH staging 4/7] ath25: drop useless patch

Sergey Ryazanov ryazanov.s.a at gmail.com
Mon May 23 02:30:29 PDT 2016


010-board patch has been already added to the mainline kernel. Then
files, which created by this patch, were removed in upstream, so now it
just reintroduce couple of useless files. Remove patch completely.

Relevant upstream commits:
  * d631fc60706ccd86c5c2b0084bcea0739952ce90 (MIPS: Create a common
    <asm/mach-generic/war.h>)
  * 832f5dacfa0bb081a3b3b979a36a132b28ffacf3 (MIPS: Remove all the uses
    of custom gpio.h)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a at gmail.com>
---
 target/linux/ath25/patches-4.4/010-board.patch | 47 --------------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 target/linux/ath25/patches-4.4/010-board.patch

diff --git a/target/linux/ath25/patches-4.4/010-board.patch b/target/linux/ath25/patches-4.4/010-board.patch
deleted file mode 100644
index dbf0600..0000000
--- a/target/linux/ath25/patches-4.4/010-board.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- /dev/null
-+++ b/arch/mips/include/asm/mach-ath25/gpio.h
-@@ -0,0 +1,16 @@
-+#ifndef __ASM_MACH_ATH25_GPIO_H
-+#define __ASM_MACH_ATH25_GPIO_H
-+
-+#include <asm-generic/gpio.h>
-+
-+#define gpio_get_value __gpio_get_value
-+#define gpio_set_value __gpio_set_value
-+#define gpio_cansleep __gpio_cansleep
-+#define gpio_to_irq __gpio_to_irq
-+
-+static inline int irq_to_gpio(unsigned irq)
-+{
-+	return -EINVAL;
-+}
-+
-+#endif	/* __ASM_MACH_ATH25_GPIO_H */
---- /dev/null
-+++ b/arch/mips/include/asm/mach-ath25/war.h
-@@ -0,0 +1,25 @@
-+/*
-+ * This file is subject to the terms and conditions of the GNU General Public
-+ * License.  See the file "COPYING" in the main directory of this archive
-+ * for more details.
-+ *
-+ * Copyright (C) 2008 Felix Fietkau <nbd at openwrt.org>
-+ */
-+#ifndef __ASM_MACH_ATH25_WAR_H
-+#define __ASM_MACH_ATH25_WAR_H
-+
-+#define R4600_V1_INDEX_ICACHEOP_WAR	0
-+#define R4600_V1_HIT_CACHEOP_WAR	0
-+#define R4600_V2_HIT_CACHEOP_WAR	0
-+#define R5432_CP0_INTERRUPT_WAR		0
-+#define BCM1250_M3_WAR			0
-+#define SIBYTE_1956_WAR			0
-+#define MIPS4K_ICACHE_REFILL_WAR	0
-+#define MIPS_CACHE_SYNC_WAR		0
-+#define TX49XX_ICACHE_INDEX_INV_WAR	0
-+#define RM9000_CDEX_SMP_WAR		0
-+#define ICACHE_REFILLS_WORKAROUND_WAR	0
-+#define R10000_LLSC_WAR			0
-+#define MIPS34K_MISSED_ITLB_WAR		0
-+
-+#endif /* __ASM_MACH_ATH25_WAR_H */
-- 
2.7.3




More information about the Lede-dev mailing list