ramips: add support for 3.7
[openwrt.git] / target / linux / ramips / patches-3.7 / 100-mips-ralink-core.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -103,6 +103,9 @@ config ATH79
4         help
5           Support for the Atheros AR71XX/AR724X/AR913X SoCs.
6  
7 +config MIPS_RALINK
8 +       bool "Ralink MIPS SoC based boards"
9 +
10  config BCM47XX
11         bool "Broadcom BCM47XX based boards"
12         select CEVT_R4K
13 @@ -864,6 +867,7 @@ source "arch/mips/jz4740/Kconfig"
14  source "arch/mips/lantiq/Kconfig"
15  source "arch/mips/lasat/Kconfig"
16  source "arch/mips/pmc-sierra/Kconfig"
17 +source "arch/mips/ralink/Kconfig"
18  source "arch/mips/powertv/Kconfig"
19  source "arch/mips/sgi-ip27/Kconfig"
20  source "arch/mips/sibyte/Kconfig"
21 @@ -1206,7 +1210,7 @@ config BOOT_ELF32
22  
23  config MIPS_L1_CACHE_SHIFT
24         int
25 -       default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
26 +       default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL || RALINK_RT288X
27         default "6" if MIPS_CPU_SCACHE
28         default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
29         default "5"
30 --- a/arch/mips/Kbuild.platforms
31 +++ b/arch/mips/Kbuild.platforms
32 @@ -22,6 +22,7 @@ platforms += pmc-sierra
33  platforms += pnx833x
34  platforms += pnx8550
35  platforms += powertv
36 +platforms += ralink
37  platforms += rb532
38  platforms += sgi-ip22
39  platforms += sgi-ip27