Commit 7850069
wifi: brcmfmac: Add support for SYSMEM corerev >= 12 & fix < 12
SYSMEM corerev 12+ uses different coreinfo masks for the ROM/RAM sizes.
The masks for cores <12 also look like they were wrong all along, since
the register layout is not the same as for SOCRAM (even though it was
sharing the defines). Plus we need to skip the ROM banks, which we
weren't doing.
So it looks like this was always wrong for SYSMEM chips. Fix it and add
support for the new revisions.
Signed-off-by: Hector Martin <marcan@marcan.st>1 parent a48f05b commit 7850069
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
165 | 174 | | |
166 | 175 | | |
167 | 176 | | |
| |||
659 | 668 | | |
660 | 669 | | |
661 | 670 | | |
| 671 | + | |
662 | 672 | | |
663 | 673 | | |
664 | 674 | | |
665 | 675 | | |
666 | 676 | | |
667 | 677 | | |
668 | 678 | | |
669 | | - | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
670 | 686 | | |
671 | 687 | | |
672 | | - | |
| 688 | + | |
673 | 689 | | |
674 | 690 | | |
675 | 691 | | |
| |||
0 commit comments