Commit 4085f641 authored by Ido Reis's avatar Ido Reis Committed by Luciano Coelho

wl18xx: fix PHY_INIT addresses mem size

was hardcoded 252, now uses the parameters struct size.
Signed-off-by: default avatarIdo Reis <idor@ti.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 97511b15
...@@ -540,8 +540,8 @@ static const struct wlcore_partition_set wl18xx_ptable[PART_TABLE_LEN] = { ...@@ -540,8 +540,8 @@ static const struct wlcore_partition_set wl18xx_ptable[PART_TABLE_LEN] = {
.mem3 = { .start = 0x00000000, .size = 0x00000000 }, .mem3 = { .start = 0x00000000, .size = 0x00000000 },
}, },
[PART_PHY_INIT] = { [PART_PHY_INIT] = {
/* TODO: use the phy_conf struct size here */ .mem = { .start = 0x80926000,
.mem = { .start = 0x80926000, .size = 252 }, .size = sizeof(struct wl18xx_mac_and_phy_params) },
.reg = { .start = 0x00000000, .size = 0x00000000 }, .reg = { .start = 0x00000000, .size = 0x00000000 },
.mem2 = { .start = 0x00000000, .size = 0x00000000 }, .mem2 = { .start = 0x00000000, .size = 0x00000000 },
.mem3 = { .start = 0x00000000, .size = 0x00000000 }, .mem3 = { .start = 0x00000000, .size = 0x00000000 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment