Arend van Spriel
2da5cb2979
brcmfmac: CR4 takes precedence over CM3 in brcmf_chip_enter_download()
...
In the enter and exit download sequence the chip core info was checked
for presence of CM3 ARM core. If found it would enter download state for
the CM3. However, on devices that have a CM3 and CR4 this is not correct
and the CR4 should be used to enter download state. This patch changes
the ARM core lookup giving CR4 precedence.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com >
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2014-02-12 15:35:54 -05:00
Arend van Spriel
4aa2c47cd6
brcmfmac: get chip core information from the device
...
Instead of instantiating core info structs based upon the
chip identifier it is now done parsing information provided
on the device.
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Hante Meuleman <meuleman@broadcom.com >
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com >
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2014-02-12 15:35:53 -05:00
Arend van Spriel
cb7cf7be9e
brcmfmac: make chip related functions host interface independent
...
This patch make several chip related functions host interface
independent by defining callback interface struct brcmf_buscore_ops.
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Hante Meuleman <meuleman@broadcom.com >
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com >
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2014-02-12 15:35:45 -05:00
Arend van Spriel
20c9c9bc14
brcmfmac: rename sdio_chip.[ch]
...
Just renaming the file. This file will contain chip related functions
that are independent of the host interface type.
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com >
Reviewed-by: Hante Meuleman <meuleman@broadcom.com >
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com >
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2014-02-12 15:31:50 -05:00