5e120efbd5dc68adb9eaab00994fd73a96618067
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.2 / 100-mips-ralink-core.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -87,6 +87,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 @@ -794,6 +797,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 @@ -1143,7 +1147,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 @@ -21,6 +21,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