1 Index: linux-5.4.77/arch/mips/Kbuild.platforms
2 ===================================================================
3 --- linux-5.4.77.orig/arch/mips/Kbuild.platforms
4 +++ linux-5.4.77/arch/mips/Kbuild.platforms
5 @@ -27,6 +27,7 @@ platforms += pistachio
6 platforms += pmcs-msp71xx
13 Index: linux-5.4.77/arch/mips/Kconfig
14 ===================================================================
15 --- linux-5.4.77.orig/arch/mips/Kconfig
16 +++ linux-5.4.77/arch/mips/Kconfig
17 @@ -630,6 +630,26 @@ config RALINK
18 select ARCH_HAS_RESET_CONTROLLER
19 select RESET_CONTROLLER
22 + bool "Realtek based platforms"
23 + select DMA_NONCOHERENT
27 + select SYS_HAS_CPU_MIPS32_R1
28 + select SYS_HAS_CPU_MIPS32_R2
29 + select SYS_SUPPORTS_BIG_ENDIAN
30 + select SYS_SUPPORTS_32BIT_KERNEL
31 + select SYS_SUPPORTS_MIPS16
32 + select SYS_HAS_EARLY_PRINTK
33 + select SYS_HAS_EARLY_PRINTK_8250
34 + select USE_GENERIC_EARLY_PRINTK_8250
37 + select ARCH_HAS_RESET_CONTROLLER
38 + select RESET_CONTROLLER
42 bool "SGI IP22 (Indy/Indigo2)"