1 --- a/arch/mips/Kbuild.platforms
2 +++ b/arch/mips/Kbuild.platforms
3 @@ -23,6 +23,7 @@ platform-$(CONFIG_PIC32MZDA) += pic32/
4 platform-$(CONFIG_MACH_PISTACHIO) += pistachio/
5 platform-$(CONFIG_RALINK) += ralink/
6 platform-$(CONFIG_MIKROTIK_RB532) += rb532/
7 +platform-$(CONFIG_RTL83XX) += rtl838x/
8 platform-$(CONFIG_SGI_IP22) += sgi-ip22/
9 platform-$(CONFIG_SGI_IP27) += sgi-ip27/
10 platform-$(CONFIG_SGI_IP28) += sgi-ip22/
11 --- a/arch/mips/Kconfig
12 +++ b/arch/mips/Kconfig
13 @@ -1037,8 +1037,58 @@ config NLM_XLP_BOARD
14 This board is based on Netlogic XLP Processor.
15 Say Y here if you have a XLP based board.
18 + bool "Realtek based platforms"
19 + select DMA_NONCOHERENT
21 + select SYS_HAS_CPU_MIPS32_R1
22 + select SYS_HAS_CPU_MIPS32_R2
23 + select SYS_SUPPORTS_BIG_ENDIAN
24 + select SYS_SUPPORTS_HIGHMEM
25 + select SYS_SUPPORTS_32BIT_KERNEL
26 + select SYS_SUPPORTS_MIPS16
27 + select SYS_HAS_EARLY_PRINTK
28 + select SYS_HAS_EARLY_PRINTK_8250
29 + select USE_GENERIC_EARLY_PRINTK_8250
32 + select ARCH_HAS_RESET_CONTROLLER
33 + select RESET_CONTROLLER
39 + bool "Realtek RTL838X based platforms"
45 + bool "Realtek RTL839X based platforms"
49 + select SYS_SUPPORTS_MULTITHREADING
52 + bool "Realtek RTL930X based platforms"
54 + select MIPS_CPU_SCACHE
57 + select SYS_SUPPORTS_MULTITHREADING
60 + bool "Realtek RTL931X based platforms"
64 + select CLKSRC_MIPS_GIC
65 + select SYS_SUPPORTS_VPE_LOADER
66 + select SYS_SUPPORTS_SMP
67 + select SYS_SUPPORTS_MIPS_CPS
69 source "arch/mips/alchemy/Kconfig"
70 source "arch/mips/ath25/Kconfig"
71 source "arch/mips/ath79/Kconfig"
72 @@ -1097,6 +1147,9 @@ config CEVT_GT641XX