]> 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)
commit0e41d47c1b8d5d8c888b6d67f33aaaccb058e35a
tree02920911d43c4e480ac0eba21c15587776b16d6b
parent20f2d89eed2d8e6df53d2058d3f8efb9b83a40c1
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