lantiq: Fixes to athxk EEPROM loading
authorJohn Crispin <john@openwrt.org>
Mon, 10 Jun 2013 08:25:12 +0000 (08:25 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 10 Jun 2013 08:25:12 +0000 (08:25 +0000)
commit73df2c2b2ae6fb2267d2e86095542bcb6270c9e2
treef014cc765bc9fd9a0d48fc25592b7b82771776be
parentb7ada1333b27a5f025064b8e8b7afe110f94e783
lantiq: Fixes to athxk EEPROM loading

Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 36901
target/linux/lantiq/dts/ARV4518PWR01.dts
target/linux/lantiq/dts/ARV4518PWR01A.dts
target/linux/lantiq/dts/ARV4525PW.dts
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/ARV7518PW.dts
target/linux/lantiq/patches-3.7/0302-wifi-eep.patch
target/linux/lantiq/patches-3.8/0037-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch