Hi,
Aurelien Jarno wrote:
The patch below against 2.6.23-rc1-mm2 adds a BCM947XX option to
Kconfig and modify the SSB Kconfig to select SSB_PCICORE_HOSTMODE by
default with BCM947XX CPUs.
Cc: Michael Buesch <mb@xxxxxxxxx>
Cc: Waldemar Brodkorb <wbx@xxxxxxxxxxx>
Cc: Felix Fietkau <nbd@xxxxxxxxxxx>
Cc: Florian Schirmer <jolt@xxxxxxxxxx>
Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
Looks good!
Acked-by: Florian Schirmer <jolt@xxxxxxxxxx>
Best,
Florian
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -67,6 +67,20 @@
note that a kernel built with this option selected will not be
able to run on normal units.
+config BCM947XX
+ bool "BCM947xx based boards"
+ select DMA_NONCOHERENT
+ select HW_HAS_PCI
+ select IRQ_CPU
+ select SYS_HAS_CPU_MIPS32_R1
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_LITTLE_ENDIAN
+ select SSB
+ select SSB_DRIVER_MIPS
+ select GENERIC_GPIO
+ help
+ Support for BCM947xx based boards
+
config MIPS_COBALT
bool "Cobalt Server"
select DMA_NONCOHERENT
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -67,6 +67,7 @@
config SSB_PCICORE_HOSTMODE
bool "Hostmode support for SSB PCI core"
depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS
+ default y if BCM947XX
help
PCIcore hostmode operation (external PCI bus).