You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
Adrian Schmutzler 62d5ece70b ramips: remove bogus ralink,mtd-eeprom with offset 0x4
Several devices in mt76x8 subtarget use the following line to set
up wmac in their DTS(I) files:

ralink,mtd-eeprom = <&factory 0x4>

This is strange for several reasons:
- They should use mediatek,mtd-eeprom on this SOC
- The caldata is supposed to start at 0x0
- The parent DTSI mt7628an.dtsi specifies mediatek,mtd-eeprom anyway,
  starting from 0x0
- The offset coincides with the default location of the MAC address
  in caldata

Based on the comment in b28e94d4bf ("ramips: MiWiFi Nano fixes"),
it looks like the author for this device wanted to actually use
mtd-mac-address instead of ralink,mtd-eeprom. A check on the same
device revealed that actually the MAC address start at offset 4 there,
so the correct caldata offset is 0x0.

Based on these findings, and the fact that the expected location on
this SOC is 0x0, we remove the "ralink,mtd-eeprom = <&factory 0x4>"
statement from all devices in ramips (being only mt7628an anyway).

Thanks to Sungbo Eo for finding and researching this.

Reported-by: Sungbo Eo <mans0n@gorani.run>
Fixes: b28e94d4bf ("ramips: MiWiFi Nano fixes")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 09d38a3bc3)
4 years ago
..
apm821xx kernel: bump 4.14 to 4.14.159 4 years ago
ar71xx kernel: bump 4.14 to 4.14.159 4 years ago
arc770 treewide: use wpad-basic for not small flash targets 6 years ago
archs38 treewide: use wpad-basic for not small flash targets 6 years ago
armvirt kernel: Remove CONFIG_COMPAT 5 years ago
at91 at91: disable legacy PTYs and virtual terminals 4 years ago
ath25 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 5 years ago
ath79 ath79: use ath10k-ct-smallbuffers for 64 MiB devices 4 years ago
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 5 years ago
brcm47xx brcm47xx: add switch configuration for WNR3500L 4 years ago
brcm63xx kernel: bump 4.14 to 4.14.155 5 years ago
brcm2708 kernel: bump 4.14 to 4.14.159 4 years ago
cns3xxx kernel: bump 4.14 to 4.14.156 5 years ago
gemini kernel: bump 4.14 to 4.14.156 5 years ago
generic kernel: bump 4.14 to 4.14.160 4 years ago
imx6 treewide: remove 4.19 leftovers 5 years ago
ipq40xx ipq40xx: use ath10k-ct-smallbuffers for 128 MiB devices 4 years ago
ipq806x kernel: bump 4.14 to 4.14.159 4 years ago
kirkwood kirkwood: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
lantiq kernel: bump 4.14 to 4.14.159 4 years ago
layerscape kernel: bump 4.14 to 4.14.160 4 years ago
malta malta: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
mediatek kernel: bump 4.14 to 4.14.156 5 years ago
mpc85xx mpc85xx: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
mvebu kernel: bump 4.14 to 4.14.160 4 years ago
mxs kernel: bump 4.14 to 4.14.156 5 years ago
octeon treewide: remove 4.19 leftovers 5 years ago
octeontx kernel: bump 4.14 to 4.14.160 4 years ago
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 5 years ago
oxnas oxnas: disable legacy PTYs and virtual terminals 4 years ago
pistachio kernel: bump 4.14 to 4.14.91 5 years ago
ramips ramips: remove bogus ralink,mtd-eeprom with offset 0x4 4 years ago
rb532 kernel: bump 4.14 to 4.14.86 6 years ago
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 5 years ago
sunxi sunxi: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
tegra treewide: remove 4.19 leftovers 5 years ago
uml uml: remove CONFIG_LEGACY_PTY from kernel config 4 years ago
x86 kernel: bump 4.14 to 4.14.154 5 years ago
zynq zynq: make title consistent for all devices 5 years ago
Makefile