On 06/06/2011 01:07 PM, Rafał Miłecki wrote:
> 2011/6/6 Hauke Mehrtens <email@example.com>:
>> This patch add support for the bcma bus. Broadcom uses only Mips 74K
>> CPUs on the new SoC and on the old ons using ssb bus there are no Mips
>> 74K CPUs.
>> Signed-off-by: Hauke Mehrtens <firstname.lastname@example.org>
>> arch/mips/Kconfig | 4 +++
>> arch/mips/bcm47xx/gpio.c | 9 ++++++++
>> arch/mips/bcm47xx/nvram.c | 6 +++++
>> arch/mips/bcm47xx/serial.c | 24 +++++++++++++++++++++++
>> arch/mips/bcm47xx/setup.c | 27
>> arch/mips/bcm47xx/time.c | 3 ++
>> arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 3 ++
>> arch/mips/include/asm/mach-bcm47xx/gpio.h | 18 +++++++++++++++++
>> drivers/watchdog/bcm47xx_wdt.c | 6 +++++
>> 9 files changed, 98 insertions(+), 2 deletions(-)
>> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
>> index 653da62..bdb0341 100644
>> --- a/arch/mips/Kconfig
>> +++ b/arch/mips/Kconfig
>> @@ -100,6 +100,10 @@ config BCM47XX
>> select SSB_EMBEDDED
>> select SSB_B43_PCI_BRIDGE if PCI
>> select SSB_PCICORE_HOSTMODE if PCI
>> + select BCMA
>> + select BCMA_HOST_EMBEDDED
>> + select BCMA_DRIVER_MIPS
>> + select BCMA_PCICORE_HOSTMODE
> I'm not involved in development for embedded devices but I believe
> that space is quite important for them.
> You force compiling both: ssb and bcma for every device using bcm47xx.
> I think ppl may want to compile only one bus driver.
Yes that has to be improved as there should also be an option to use the
compiler optimazions for the new MIPS 74K CPU core.