MLK-20679 brcmfmac: reset two D11 cores if chip has two D11 cores
authorWright Feng <wright.feng@cypress.com>
Mon, 3 Dec 2018 09:39:33 +0000 (17:39 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Thu, 18 Apr 2019 00:00:38 +0000 (03:00 +0300)
commit3a3010327ef691753850d5f2a7d46b30e2d1f526
tree84fbf30d00be96fc9f20f74a3cf9adda61b37c82
parenta0ae0237fc943c1a837d432f0fa89e7b0a8836a3
MLK-20679 brcmfmac: reset two D11 cores if chip has two D11 cores

There are two D11 cores in RSDB chips like 4359. We have to reset two
D11 cores simutaneously before firmware download, or the firmware may
not be initialized correctly and cause "fw initialized failed" error.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked commit from 8f50bea9357af3088dba0103f0017d56763b0ae9)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c