public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()
@ 2011-10-06 22:23 Michael Walle
  2011-10-07 17:24 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michael Walle @ 2011-10-06 22:23 UTC (permalink / raw)
  To: u-boot

The spi_init() function is missing. Add it.

Signed-off-by: Michael Walle <michael@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);
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-18 11:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06 22:23 [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init() Michael Walle
2011-10-07 17:24 ` Mike Frysinger
2011-10-16 18:32 ` Michael Walle
2011-10-16 20:25   ` Wolfgang Denk
2011-10-16 20:42     ` Michael Walle
2011-10-17 10:22       ` Prafulla Wadaskar
2011-10-18 11:09 ` Prafulla Wadaskar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox