]> git.ipfire.org Git - thirdparty/openwrt.git/commit
lantiq: vr200: switch to nvmem eeprom 23115/head
authorRosen Penev <rosenp@gmail.com>
Mon, 27 Apr 2026 02:47:59 +0000 (19:47 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 9 May 2026 12:08:12 +0000 (14:08 +0200)
commit2f19bffe3f0d2f60d43e5c847f64b203d5e8edc6
tree7c8a77e26b8e6eed0249ed68f8d9738fa3149419
parent66aa0bc397cecba91fec555f39b00fa203569899
lantiq: vr200: switch to nvmem eeprom

mediatek,mtd-eeprom predates nvmem and is being phased out.

At first glance, it looks like it's doing something useful with its
big-endian binding. However on further inspection, big-endian is handled
in the same function that mediatek,mtd-eeprom is handled. In addition,
the older mtd_read way of extracting the firmware byteswaps the data
on big endian hosts which big-endian byteswaps back. nvmem does not do
such byteswapping.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23115
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/lantiq/dts/vr9_tplink_vr200.dtsi