diff options
author | Ido Reis <idor@ti.com> | 2012-05-13 08:27:17 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-07 11:10:48 -0400 |
commit | 4085f641e704b1ff1a60f62756f49281a181f707 (patch) | |
tree | 45cb76401d252bfefd164e478ec23f51ab0dc342 | |
parent | 97511b15b1926337f90226b3cb735e52f2dc8a85 (diff) |
wl18xx: fix PHY_INIT addresses mem size
was hardcoded 252, now uses the parameters struct size.
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index c8d45f011c63..e030b1297a2b 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c | |||
@@ -540,8 +540,8 @@ static const struct wlcore_partition_set wl18xx_ptable[PART_TABLE_LEN] = { | |||
540 | .mem3 = { .start = 0x00000000, .size = 0x00000000 }, | 540 | .mem3 = { .start = 0x00000000, .size = 0x00000000 }, |
541 | }, | 541 | }, |
542 | [PART_PHY_INIT] = { | 542 | [PART_PHY_INIT] = { |
543 | /* TODO: use the phy_conf struct size here */ | 543 | .mem = { .start = 0x80926000, |
544 | .mem = { .start = 0x80926000, .size = 252 }, | 544 | .size = sizeof(struct wl18xx_mac_and_phy_params) }, |
545 | .reg = { .start = 0x00000000, .size = 0x00000000 }, | 545 | .reg = { .start = 0x00000000, .size = 0x00000000 }, |
546 | .mem2 = { .start = 0x00000000, .size = 0x00000000 }, | 546 | .mem2 = { .start = 0x00000000, .size = 0x00000000 }, |
547 | .mem3 = { .start = 0x00000000, .size = 0x00000000 }, | 547 | .mem3 = { .start = 0x00000000, .size = 0x00000000 }, |