summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdrivers/at45.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/at45.c b/drivers/at45.c
index 4c12ca7a3..7d35695b1 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