summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorMichael Walle <[michael@walle.cc]>2011-10-18 20:12:00 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:33 +0200
commitefa4e43a40fae556c7af24292dda5e6500b9ca24 (patch)
tree962fd803193d958f8012e2ef7c51f327155cb026 /drivers/spi
parent71f13a21dc78b312e1a250bef88c14f9de94b62b (diff)
downloadu-boot-imx-efa4e43a40fae556c7af24292dda5e6500b9ca24.zip
u-boot-imx-efa4e43a40fae556c7af24292dda5e6500b9ca24.tar.gz
u-boot-imx-efa4e43a40fae556c7af24292dda5e6500b9ca24.tar.bz2
kirkwood_spi: add dummy spi_init()
The spi_init() function is missing. Add it. Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/kirkwood_spi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
index 6f502f0..54c4036 100644
--- a/drivers/spi/kirkwood_spi.c
+++ b/drivers/spi/kirkwood_spi.c
@@ -107,6 +107,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);