brcmfmac: take save&restore memory into account for SDIO shared info
authorArend van Spriel <arend@broadcom.com>
Wed, 11 Mar 2015 15:11:32 +0000 (16:11 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Mar 2015 14:10:35 +0000 (16:10 +0200)
commit9819a9024eabee7bb793bbbb3f3833dfaf222dc9
tree598be3c551f6baf5ab367ccc15e9f34ec5916d1d
parent0da32ba4ee667ef3c837ee4ebaa230f6f826a822
brcmfmac: take save&restore memory into account for SDIO shared info

The firmware provides pointer to SDIO shared information at end of
RAM during firmware initialization. End of RAM is obviously determined
by the actual ram size, but part of that may be used for save&restore
memory. In that case another location in RAM will hold the pointer.

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: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c