[PATCH 6/6] ARM: S3C64XX: Modified according to SPI consolidation work.

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Nov 4 06:57:11 EDT 2011


On Fri, Nov 04, 2011 at 08:43:54AM -0400, Padmavathi Venna wrote:

> +#ifdef CONFIG_S3C64XX_DEV_SPI0
> +static struct s3c64xx_spi_info crag6410_spi0_pdata __initdata = {
> +	.cfg_gpio       = s3c64xx_spi0_cfg_gpio,
> +	.fifo_lvl_mask  = 0x7f,
> +	.rx_lvl_offset  = 13,
> +	.tx_st_done     = 21,
> +};
> +#endif

It seems like a step backwards to have all this stuff in the individual
machines - most of this (everything except cfg_gpio pretty much) is a
property of the SoC silicon so should be somewhere central for the SoC.



More information about the linux-arm-kernel mailing list