diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-06-10 08:25:12 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-06-10 08:25:12 +0000 |
commit | 2601ccb1eea90a56a715cde9ce548547d7fa3d65 (patch) | |
tree | f014cc765bc9fd9a0d48fc25592b7b82771776be /target/linux/lantiq/dts/ARV4518PWR01A.dts | |
parent | b169b9012c49c06080074bc532572a2671470fc3 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/ARV4518PWR01A.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV4518PWR01A.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/ARV4518PWR01A.dts b/target/linux/lantiq/dts/ARV4518PWR01A.dts index e6d83ed2e1..211ad87949 100644 --- a/target/linux/lantiq/dts/ARV4518PWR01A.dts +++ b/target/linux/lantiq/dts/ARV4518PWR01A.dts @@ -71,7 +71,7 @@ ath5k_eep { compatible = "ath5k,eeprom"; - reg = <0 0x3f0400 0x800 + reg = <0 0x3f0400 0x1000 0 0x3f0016 0x6>; ath,mac-increment = <1>; ath,eep-swap; |