[U-Boot] [PATCH v3 04/10] SPI: Add Orion SPI driver

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Jun 3 21:46:56 CEST 2013


On 06/03/2013 07:31 PM, Sascha Silbe wrote:
> From: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
>
> This adds an SPI driver for Marvell Dove SoCs. This driver is taken
> from kirkwood_spi but removes mpp configuration as dove has dedicated
> spi pins.
>
> As a future clean-up step, the code for orion5x, kirkwood and dove
> could be merged, with MPP configuration being be handled as part of
> cpu/board-specific setup.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> Signed-off-by: Sascha Silbe <t-uboot at infra-silbe.de>
> ---
>  v3->v4: renamed to dove, adjusted description, removed unused
>          variable, made checkpatch clean

Sascha,

renaming it to dove_spi to obfuscate it is actually a copy of
kirkwood_spi that will also work for orion5x and mv78x00 does _not_
match my intention when I posted this driver. Feel free to pick up the
patches but it should remain generic for all Orion SoCs.

kirkwood_spi has mpp stuff inside that is totally wrong there, move it
to board setup and just rename kirkwood_spi to something more generic.

Sebastian


More information about the U-Boot mailing list