Commit graph

9 commits

Author SHA1 Message Date
John Crispin
a4d31c0353 lantiq: make macs loadable from mtd partitions
This is a really ugly hack but it will have to do until we copy the ramips patches to the lantiq tree

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37539
2013-07-25 20:29:05 +00:00
John Crispin
93c4359512 lantiq: revert 36778 as it breaks irq assignment to pci devices
Reported-by: Matti Laakso
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37258
2013-07-11 21:16:34 +00:00
John Crispin
bfc7007226 lantiq: Add support for loading athxk eeproms through mtd
This patch enables retrieving the wifi calibration data from an MTD partition.
Try to copy mac address from ethernet before generating a random one.
This fixes DGN3500 ath9k support.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 37087
2013-06-29 16:33:46 +00:00
John Crispin
76c79f50d7 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
2013-06-10 08:25:12 +00:00
John Crispin
e9ef65175d lantiq: revert [36779] as it caused a regression
submitter was informed of a endinaess swap regression and replied with "works on my board"

revert the patch and make arv7518 wifi work again

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36807
2013-05-31 13:25:07 +00:00
John Crispin
d1f3751d05 lantiq: wifi calibration from MTD
This patch enables retrieving the wifi calibration data from an MTD
partition. It requires the previous patch.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 36779
2013-05-30 16:00:32 +00:00
John Crispin
83c3cd4ed9 lantiq: postpone PCI and wifi init
This postpones the initialization of PCI and wifi until after the MTD
initialization, so that calibration data may be loaded from there.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 36778
2013-05-30 16:00:24 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
John Crispin
b98ae2b149 bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36014
2013-03-14 18:42:29 +00:00