From ea93b4fb89e3aac292c71547d46fef36c20c6ac9 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 14 Apr 2013 09:25:53 +0000 Subject: kernel: update linux 3.8 to 3.8.7 Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...ralink-adds-support-for-RT2880-SoC-family.patch | 23 +++------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch') diff --git a/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch b/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch index 51a7f88f1..592f2af24 100644 --- a/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch +++ b/target/linux/ramips/patches-3.8/0107-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch @@ -19,11 +19,9 @@ Signed-off-by: John Crispin create mode 100644 arch/mips/include/asm/mach-ralink/rt288x.h create mode 100644 arch/mips/ralink/rt288x.c -diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig -index 27a4bfa..c1997db 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -1144,7 +1144,7 @@ config BOOT_ELF32 +@@ -1189,7 +1189,7 @@ config BOOT_ELF32 config MIPS_L1_CACHE_SHIFT int @@ -32,9 +30,6 @@ index 27a4bfa..c1997db 100644 default "6" if MIPS_CPU_SCACHE default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON default "5" -diff --git a/arch/mips/include/asm/mach-ralink/rt288x.h b/arch/mips/include/asm/mach-ralink/rt288x.h -new file mode 100644 -index 0000000..ad8b42d --- /dev/null +++ b/arch/mips/include/asm/mach-ralink/rt288x.h @@ -0,0 +1,49 @@ @@ -87,8 +82,6 @@ index 0000000..ad8b42d +#define CLKCFG_SRAM_CS_N_WDT BIT(9) + +#endif -diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig -index a0b0197..6723b94 100644 --- a/arch/mips/ralink/Kconfig +++ b/arch/mips/ralink/Kconfig @@ -6,6 +6,9 @@ choice @@ -101,23 +94,19 @@ index a0b0197..6723b94 100644 config SOC_RT305X bool "RT305x" select USB_ARCH_HAS_HCD -diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile -index 939757f..6d826f2 100644 --- a/arch/mips/ralink/Makefile +++ b/arch/mips/ralink/Makefile @@ -8,6 +8,7 @@ - obj-y := prom.o of.o reset.o clk.o irq.o + obj-y := prom.o of.o reset.o clk.o irq.o pinmux.o +obj-$(CONFIG_SOC_RT288X) += rt288x.o obj-$(CONFIG_SOC_RT305X) += rt305x.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o -diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform -index 6babd65..3f49e51 100644 --- a/arch/mips/ralink/Platform +++ b/arch/mips/ralink/Platform -@@ -5,6 +5,11 @@ core-$(CONFIG_RALINK) += arch/mips/ralink/ +@@ -5,6 +5,11 @@ core-$(CONFIG_RALINK) += arch/mips/rali cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink # @@ -129,9 +118,6 @@ index 6babd65..3f49e51 100644 # Ralink RT305x # load-$(CONFIG_SOC_RT305X) += 0xffffffff80000000 -diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c -new file mode 100644 -index 0000000..8f3a0fa --- /dev/null +++ b/arch/mips/ralink/rt288x.c @@ -0,0 +1,143 @@ @@ -278,6 +264,3 @@ index 0000000..8f3a0fa + (id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK, + (id & CHIP_ID_REV_MASK)); +} --- -1.7.10.4 - -- cgit v1.2.3