summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/spi.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-17 16:12:00 -0800
committerJosh Blum <josh@joshknows.com>2010-12-11 18:43:09 -0800
commitb621dea91eeebe05c4823bc2da8780fa12997169 (patch)
tree3545fc910b17b4c5401a76dd30188944934b7dc1 /firmware/microblaze/lib/spi.h
parent57fcedbba7cbedda714aefa6653bf00e30e5981a (diff)
downloaduhd-b621dea91eeebe05c4823bc2da8780fa12997169.tar.gz
uhd-b621dea91eeebe05c4823bc2da8780fa12997169.tar.bz2
uhd-b621dea91eeebe05c4823bc2da8780fa12997169.zip
usrp2: replaced spi and i2c async stuff with sync (since were out of the fast-path)
Diffstat (limited to 'firmware/microblaze/lib/spi.h')
-rw-r--r--firmware/microblaze/lib/spi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/microblaze/lib/spi.h b/firmware/microblaze/lib/spi.h
index 54618cedd..71245150a 100644
--- a/firmware/microblaze/lib/spi.h
+++ b/firmware/microblaze/lib/spi.h
@@ -48,12 +48,12 @@ void spi_wait(void);
uint32_t
spi_transact(bool readback, int slave, uint32_t data, int length, uint32_t flags);
-uint32_t spi_get_data(void);
+//uint32_t spi_get_data(void);
//static void spi_irq_handler(unsigned irq);
-void spi_register_callback(void (*volatile callback)(void));
+//void spi_register_callback(void (*volatile callback)(void));
-bool
-spi_async_transact(int slave, uint32_t data, int length, uint32_t flags, void (*volatile callback)(void));
+//bool
+//spi_async_transact(int slave, uint32_t data, int length, uint32_t flags, void (*volatile callback)(void));
// ----------------------------------------------------------------
// Routines that manipulate the FLASH SPI BUS