[U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()
Michael Walle
michael at walle.cc
Sun Oct 16 20:32:02 CEST 2011
Am Freitag 07 Oktober 2011, 00:23:54 schrieb Michael Walle:
> The spi_init() function is missing. Add it.
>
> Signed-off-by: Michael Walle <michael at walle.cc>
> ---
> drivers/spi/kirkwood_spi.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
> index a1c3070..8c35d5e 100644
> --- a/drivers/spi/kirkwood_spi.c
> +++ b/drivers/spi/kirkwood_spi.c
> @@ -106,6 +106,10 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs)
> }
> #endif
>
> +void spi_init(void)
> +{
> +}
> +
> void spi_cs_activate(struct spi_slave *slave)
> {
> writel(readl(&spireg->ctrl) | KWSPI_IRQUNMASK, &spireg->ctrl);
Hi Wolfgang,
could you commit this small patch? (acked by mike)
--
Michael
More information about the U-Boot
mailing list