]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: add functions to scan cores needed on SoCs
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Jul 2011 23:20:07 +0000 (01:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 18:29:24 +0000 (14:29 -0400)
commitcbc3798177c28cd08a0d62c43db378b15afce8d4
tree02920911d43c4e480ac0eba21c15587776b16d6b
parent5394e64b2fb9407cfd425be9df840e30e49d173f
bcma: add functions to scan cores needed on SoCs

The chip common and mips core have to be setup early in the boot
process to get the cpu clock.
bcma_bus_early_register() gets pointers to some space to store the core
data and searches for the chip common and mips core and initializes
chip common. After that was done and the kernel is out of early boot we
just have to run bcma_bus_register() and it will search for the other
cores, initialize and register them.
The cores are getting the same numbers as before.

Acked-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/bcma_private.h
drivers/bcma/driver_chipcommon.c
drivers/bcma/driver_pci.c
drivers/bcma/main.c
drivers/bcma/scan.c
include/linux/bcma/bcma.h
include/linux/bcma/bcma_driver_chipcommon.h