diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2022-01-16 08:34:18 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-17 15:21:47 +0000 |
commit | c7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d (patch) | |
tree | 425dae91f8c979843fc23b88f5edfa7a9c4672c0 /target/linux/realtek/files-5.10 | |
parent | 60df655d5b17fd225b7c742a5780a09e397ae935 (diff) | |
download | upstream-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>
Diffstat (limited to 'target/linux/realtek/files-5.10')
-rw-r--r-- | target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c | 4 |
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; |