From 76c79f50d71f9ef08b67e85385344de9da70f53a Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 10 Jun 2013 08:25:12 +0000 Subject: lantiq: Fixes to athxk EEPROM loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 SVN-Revision: 36901 --- target/linux/lantiq/dts/ARV7518PW.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/lantiq/dts/ARV7518PW.dts') diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts index 70e7d8e..e76abb5 100644 --- a/target/linux/lantiq/dts/ARV7518PW.dts +++ b/target/linux/lantiq/dts/ARV7518PW.dts @@ -69,12 +69,11 @@ ath9k_eep { compatible = "ath9k,eeprom"; - reg = <0 0x7f0400 0x800 + reg = <0 0x7f0400 0x1000 0 0x7f0016 0x6>; ath,mac-increment = <1>; ath,pci-slot = <14>; - ath,eep-swap; - ath,eep-csum; + ath,eep-endian; }; }; -- cgit v1.1