From: Adrian Schmutzler Date: Fri, 17 Jul 2020 09:23:16 +0000 (+0200) Subject: ramips: remove incorrect mtd-eeprom for TP-Link TL-WR841N v14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2e4626ae77fe81c45fb708a37ac1709aefa033d3;p=openwrt%2Fstaging%2Fblocktrron.git ramips: remove incorrect mtd-eeprom for TP-Link TL-WR841N v14 The factory partition on this device is only 64k in size, so having mediatek,mtd-eeprom = <&factory 0x10000> would place the EEPROM data after the end of the flash. As can be verified against the TP-Link GPL sources, which contain the EEPROM data as binary blob, the actual address for the EEPROM data is 0x0. Since 0x0 is default for MT7628, the incorrect line is just removed. This error is the reason for the abysmal Wifi performance that people are complaining about for the WR841Nv14. Fixes: 3fd97c522bb7 ("ramips: add support for TP-Link TL-WR841n v14") Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts index eaac196c19..b33c2ecae8 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts @@ -103,8 +103,8 @@ &wmac { status = "okay"; + mtd-mac-address = <&factory 0xf100>; - mediatek,mtd-eeprom = <&factory 0x10000>; }; ðernet {