diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-07 16:35:05 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-02 16:29:23 +0200 |
commit | 66ab1fb395f85e018cb1c6ae0d3a14aa46373f84 (patch) | |
tree | 35f50dd6b7f14e0e31c851529b91773883e186c9 /target/linux/ramips/patches-4.14/300-mt7620-export-chip-version-and-pkg.patch | |
parent | e68c017e9315fb246e820565ec3e18cf0bd8649e (diff) | |
download | upstream-66ab1fb395f85e018cb1c6ae0d3a14aa46373f84.tar.gz upstream-66ab1fb395f85e018cb1c6ae0d3a14aa46373f84.tar.bz2 upstream-66ab1fb395f85e018cb1c6ae0d3a14aa46373f84.zip |
ramips: drop support for kernel 4.14
The target seems to be working on 5.4, so drop 4.14 support in
preparation for removing it from master entirely.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/patches-4.14/300-mt7620-export-chip-version-and-pkg.patch')
-rw-r--r-- | target/linux/ramips/patches-4.14/300-mt7620-export-chip-version-and-pkg.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/ramips/patches-4.14/300-mt7620-export-chip-version-and-pkg.patch b/target/linux/ramips/patches-4.14/300-mt7620-export-chip-version-and-pkg.patch deleted file mode 100644 index 0cb1fede30..0000000000 --- a/target/linux/ramips/patches-4.14/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 -@@ -137,4 +137,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 |