diff options
author | Michael Walle <[michael@walle.cc]> | 2011-10-18 20:12:00 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:33 +0200 |
commit | efa4e43a40fae556c7af24292dda5e6500b9ca24 (patch) | |
tree | 962fd803193d958f8012e2ef7c51f327155cb026 /drivers/spi/kirkwood_spi.c | |
parent | 71f13a21dc78b312e1a250bef88c14f9de94b62b (diff) | |
download | u-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/kirkwood_spi.c')
-rw-r--r-- | 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 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); |