realtek: Fix typo in Kconfig prompt
[openwrt/openwrt.git] / target / linux / realtek / patches-5.10 / 300-mips-add-rtl838x-platform.patch
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.
16
17 +config RTL83XX
18 + bool "Realtek based platforms"
19 + select DMA_NONCOHERENT
20 + select IRQ_MIPS_CPU
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
30 + select BOOT_RAW
31 + select PINCTRL
32 + select ARCH_HAS_RESET_CONTROLLER
33 + select RESET_CONTROLLER
34 + select USE_OF
35 +
36 endchoice
37
38 +config RTL838X
39 + bool "Realtek RTL838X based platforms"
40 + depends on RTL83XX
41 + select CSRC_R4K
42 + select CEVT_R4K
43 +
44 +config RTL839X
45 + bool "Realtek RTL839X based platforms"
46 + depends on RTL83XX
47 + select CSRC_R4K
48 + select CEVT_R4K
49 + select SYS_SUPPORTS_MULTITHREADING
50 +
51 +config RTL930X
52 + bool "Realtek RTL930X based platforms"
53 + depends on RTL83XX
54 + select MIPS_CPU_SCACHE
55 + select CSRC_R4K
56 + select CEVT_RTL9300
57 + select SYS_SUPPORTS_MULTITHREADING
58 +
59 +config RTL931X
60 + bool "Realtek RTL931X based platforms"
61 + depends on RTL930X
62 + select MIPS_GIC
63 + select COMMON_CLK
64 + select CLKSRC_MIPS_GIC
65 + select SYS_SUPPORTS_VPE_LOADER
66 + select SYS_SUPPORTS_SMP
67 + select SYS_SUPPORTS_MIPS_CPS
68 +
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
73 config CEVT_R4K
74 bool
75
76 +config CEVT_RTL9300
77 + bool
78 +
79 config CEVT_SB1250
80 bool
81