bcma: just do the necessary things in early register on SoCs
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Sep 2012 18:29:49 +0000 (20:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Oct 2012 19:52:18 +0000 (15:52 -0400)
commit49655bb8a51565f0375a4f783334c9de78134be5
tree2e1b63c9fa53e5e53190ff2d9d652dd057158846
parentb0a949b42ba7d6f1b2876045a5e062fdfe8c691f
bcma: just do the necessary things in early register on SoCs

Some parts of the initialization for chip common and the pcie core are
accessing the sprom struct, but it is not initialized at that stage.
Just do the necessary thing in the early register on SoCs and not the
complete initialization to read out the nvram from the flash chip.
After it is possible to read out the nvram, the sprom should be parsed
from it and the full initialization of the cores should be run.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_chipcommon.c
drivers/bcma/driver_chipcommon_pmu.c
drivers/bcma/driver_mips.c
drivers/bcma/main.c
include/linux/bcma/bcma_driver_chipcommon.h
include/linux/bcma/bcma_driver_mips.h