This patchset decouples spi-bcm63xx from any arch code to allow building it for more than MIPS/BCM63XX as well as allow compile testing it on any arch/platform. Since the main target of this patch is the spi driver, it should probably go through the spi tree. Changes v2 -> v3: * Rebase onto applied patches 1~4 of v1. Changes v1 -> v2: * Use device name instead of register size for identifying core version. * Since we now touch arch/mips, drop the rest as well. * Fix big endian detection. * Reorder the patches so the move of the register definitions is the last step. Jonas Gorski (3): spi/bcm63xx: fix standard accessors and compile guard spi/bcm63xx: move message control word description to register offsets spi/bcm63xx: move register definitions into the driver arch/mips/bcm63xx/dev-spi.c | 42 +---- .../include/asm/mach-bcm63xx/bcm63xx_dev_spi.h | 44 ----- drivers/spi/Kconfig | 2 +- drivers/spi/spi-bcm63xx.c | 202 ++++++++++++++++++--- 4 files changed, 179 insertions(+), 111 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html