From: Alexander Couzens <lynxis@fe80.eu>
Date: Mon, 23 May 2016 01:23:54 +0000 (+0200)
Subject: ar71xx/cpe510: use second wifi calibration table
X-Git-Tag: v17.01.0-rc1~2655
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bf27ac019c137e7baf90ca6ef0e40945ae871797;p=openwrt%2Fstaging%2Fpepe2k.git

ar71xx/cpe510: use second wifi calibration table

The cpe510 has two calibration tables. The first calibration
table requires to modify ath9k driver to work (patched tx gain table).

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
---

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
index 74daf434e6..875589dde8 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
@@ -117,7 +117,7 @@ static void __init cpe210_setup(void)
 static void __init cpe510_setup(void)
 {
 	u8 *mac = (u8 *) KSEG1ADDR(0x1f830008);
-	u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
+	u8 *ee = (u8 *) KSEG1ADDR(0x1fff5000);
 
 	cpe_setup(mac);