aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBirger Koblitz <git@birger-koblitz.de>2022-01-16 08:34:18 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-02-17 15:21:47 +0000
commitc7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d (patch)
tree425dae91f8c979843fc23b88f5edfa7a9c4672c0
parent60df655d5b17fd225b7c742a5780a09e397ae935 (diff)
downloadupstream-c7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d.tar.gz
upstream-c7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d.tar.bz2
upstream-c7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d.zip
realtek: Add support for detecting RTL9303 SoCs
Adds support for detecting RTL9303 SoCs as found e.g. in the Ubiquiti USW switch. Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
-rw-r--r--target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
index 76e3ff7486..ad8c2d75f2 100644
--- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
+++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
@@ -170,6 +170,10 @@ void __init prom_init(void)
identify_rtl9302();
soc_info.family = RTL9300_FAMILY_ID;
break;
+ case 0x9303:
+ soc_info.name = "RTL9303";
+ soc_info.family = RTL9300_FAMILY_ID;
+ break;
case 0x9313:
soc_info.name = "RTL9313";
soc_info.family = RTL9310_FAMILY_ID;