| 1 | --- a/arch/mips/Kconfig |
| 2 | +++ b/arch/mips/Kconfig |
| 3 | @@ -90,6 +90,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 | @@ -822,6 +825,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 | @@ -1171,7 +1175,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 |
| 40 | |