]> git.karo-electronics.de Git - linux-beck.git/commit
bcma: add support for sprom not found on the device
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 27 Feb 2012 23:56:10 +0000 (00:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:20:50 +0000 (15:20 -0500)
commita027237a56f7d519eee5749cfb720e568d0bb0b6
tree0d408171f47086b66330a844701747d8aa0e37fc
parent1c9351cf2180924c91bb85e5ba607f24a3d875b1
bcma: add support for sprom not found on the device

On SoCs the sprom is stored in the nvram in a special partition on the
flash chip. The nvram contains the sprom for the main bus, but
sometimes also for a pci devices using bcma. This patch makes it
possible for the arch code to register a function to fetch the needed
sprom from the nvram and provide it to the bcma code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/sprom.c
include/linux/bcma/bcma.h