summaryrefslogtreecommitdiffstats
path: root/include/spi.h
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2016-07-27 15:25:28 +0930
committerJoel Stanley <joel@jms.id.au>2016-07-27 15:44:01 +0930
commitff0c513c85b89c4a1ff602f3bc54e4570d176e40 (patch)
treea64844afb7fab6d84bfb8dfec49b47b957c4b4eb /include/spi.h
parenta83e1bc06bef1dc155b7f4d9f96f2bfc315d4dd7 (diff)
downloadtalos-obmc-uboot-ff0c513c85b89c4a1ff602f3bc54e4570d176e40.tar.gz
talos-obmc-uboot-ff0c513c85b89c4a1ff602f3bc54e4570d176e40.zip
aspeed: hacks made to common code
These are additions made by the Aspeed SDK outside of the arch directory. They need to be cleaned up and/or removed. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/spi.h b/include/spi.h
index ca96fa4b31..0becf81d56 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -194,6 +194,8 @@ void *spi_do_alloc_slave(int offset, int size, unsigned int bus,
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
unsigned int max_hz, unsigned int mode);
+void spi_dma(struct spi_slave *slave, void *to, void *from, size_t len);
+
/**
* Free any memory associated with a SPI slave.
*
OpenPOWER on IntegriCloud