mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 15:38:37 +04:00
Describe the Ralink EEPROM as a cell of the cal_data partition and point the card at it, so the board no longer needs ralink,mtd-eeprom. Commit72f43ac220("bmips: huawei-hg556a-c: use nvmem for wifi eeprom") tried this before and was reverted inb270580deabecause the card came up without calibration data. That attempt named the cell "calibration", while rt2800_read_eeprom_nvmem() looks up "eeprom", so the driver never found it and the byte order it blamed was not involved: both paths copy the same 512 bytes from the same offset. Signed-off-by: Daniel Golle <daniel@makrotopia.org>