mt76: support reading EEPROM data embedded in fdt
authorDaniel Golle <daniel@makrotopia.org>
Wed, 25 Aug 2021 01:32:16 +0000 (02:32 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:48 +0000 (10:36 +0200)
commit255d3807b60436c9699fc593b66b2dbb6203b2df
treeec92a9ab669972e8d9d2efc84e520f49827bb9d6
parentc4a784e34bd5c30bfc1dbb6131e05b92237ac750
mt76: support reading EEPROM data embedded in fdt

Some platforms boot from SD card and don't come with calibration data
stored anywhere on the board.
As EEPROM data is rather small it can be embedded into the device tree
to be loaded from there by the mt76.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/eeprom.c