e2d898721183e1782fd6b813bef865709d864415
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.8 / 100-mips-ralink-core.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -104,6 +104,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 ARCH_WANT_OPTIONAL_GPIOLIB
13 @@ -845,6 +848,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 @@ -1172,7 +1176,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