1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -603,6 +603,20 @@ else
4 load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
10 +core-$(CONFIG_RALINK_RT288X) += arch/mips/ralink/rt288x/
11 +cflags-$(CONFIG_RALINK_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink
12 +load-$(CONFIG_RALINK_RT288X) += 0xffffffff88000000
17 +core-$(CONFIG_RALINK_RT305X) += arch/mips/ralink/rt305x/
18 +cflags-$(CONFIG_RALINK_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink
19 +load-$(CONFIG_RALINK_RT305X) += 0xffffffff80000000
21 # temporary until string.h is fixed
22 cflags-y += -ffreestanding
24 --- a/arch/mips/Kconfig
25 +++ b/arch/mips/Kconfig
26 @@ -22,6 +22,9 @@ choice
28 bool "Alchemy processor based machines"
31 + bool "Ralink MIPS SoC based boards"
34 bool "Basler eXcite smart camera"
36 @@ -638,6 +641,7 @@ source "arch/mips/basler/excite/Kconfig"
37 source "arch/mips/jazz/Kconfig"
38 source "arch/mips/lasat/Kconfig"
39 source "arch/mips/pmc-sierra/Kconfig"
40 +source "arch/mips/ralink/Kconfig"
41 source "arch/mips/sgi-ip27/Kconfig"
42 source "arch/mips/sibyte/Kconfig"
43 source "arch/mips/txx9/Kconfig"