summaryrefslogtreecommitdiff
path: root/drivers/at45.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/at45.c')
-rwxr-xr-xdrivers/at45.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/at45.c b/drivers/at45.c
index 4c12ca7..7d35695 100755
--- a/drivers/at45.c
+++ b/drivers/at45.c
@@ -24,6 +24,11 @@
#ifdef CONFIG_HAS_DATAFLASH
#include <dataflash.h>
+/*
+ * spi.c API
+ */
+extern unsigned int AT91F_SpiWrite (AT91PS_DataflashDesc pDesc);
+extern void AT91F_SpiEnable(int cs);
#define AT91C_TIMEOUT_WRDY 200000