From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Sun, 16 Oct 2011 20:32:02 +0200 Subject: [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init() In-Reply-To: <1317939834-19777-1-git-send-email-michael@walle.cc> References: <1317939834-19777-1-git-send-email-michael@walle.cc> Message-ID: <201110162032.02236.michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Freitag 07 Oktober 2011, 00:23:54 schrieb Michael Walle: > The spi_init() function is missing. Add it. > > Signed-off-by: Michael Walle > --- > 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