spi/bcm63xx: move register definitions into the driver
authorJonas Gorski <jogo@openwrt.org>
Mon, 12 Oct 2015 10:24:23 +0000 (12:24 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 16:19:58 +0000 (01:19 +0900)
commit44d8fb30941d85800fbde0a1e3454b1fb23c5ecd
treede2c3968229a73f8cf14fc258f142282a13402d6
parentf13a5e8a856cda0626da316d853a71952f14b1d7
spi/bcm63xx: move register definitions into the driver

Move all register definitions and structs into the driver. This allows
us dropping the platform_data struct and drop any arch specific
includes. Make use of different device names to identify the version of
the block we have.

Since we now have full control over the message width, we can drop the
size check, which was broken anyway, since it never set ret to any error
code.

Also since we now have no arch depedendent resources, we can now allow
compiling it for any arch, hidden behind COMPILE_TEST.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/mips/bcm63xx/dev-spi.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h
drivers/spi/Kconfig
drivers/spi/spi-bcm63xx.c