diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-12-14 13:46:19 +0000 |
---|---|---|
committer | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-12-15 09:40:03 +0000 |
commit | c7727833945deb70eed7520ab44fa08b0870b8a7 (patch) | |
tree | 193f5b25a9b5c0dd29dbbf252f9532b7784f52ed /target/linux/ramips/patches-5.4/300-mt7620-export-chip-version-and-pkg.patch | |
parent | 07452a680b571815edadc50fbe9c83311201bac7 (diff) | |
download | upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.tar.gz upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.tar.bz2 upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.zip |
ramips: remove Linux 5.4 support
We're at 5.10 stable, this can finally go.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.4/300-mt7620-export-chip-version-and-pkg.patch')
-rw-r--r-- | target/linux/ramips/patches-5.4/300-mt7620-export-chip-version-and-pkg.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/ramips/patches-5.4/300-mt7620-export-chip-version-and-pkg.patch b/target/linux/ramips/patches-5.4/300-mt7620-export-chip-version-and-pkg.patch deleted file mode 100644 index 8b4335eb03..0000000000 --- a/target/linux/ramips/patches-5.4/300-mt7620-export-chip-version-and-pkg.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/arch/mips/include/asm/mach-ralink/mt7620.h -+++ b/arch/mips/include/asm/mach-ralink/mt7620.h -@@ -135,4 +135,16 @@ static inline int mt7620_get_eco(void) - return rt_sysc_r32(SYSC_REG_CHIP_REV) & CHIP_REV_ECO_MASK; - } - -+static inline int mt7620_get_chipver(void) -+{ -+ return (rt_sysc_r32(SYSC_REG_CHIP_REV) >> CHIP_REV_VER_SHIFT) & -+ CHIP_REV_VER_MASK; -+} -+ -+static inline int mt7620_get_pkg(void) -+{ -+ return (rt_sysc_r32(SYSC_REG_CHIP_REV) >> CHIP_REV_PKG_SHIFT) & -+ CHIP_REV_PKG_MASK; -+} -+ - #endif |