summaryrefslogtreecommitdiff
path: root/drivers/at45.c
diff options
context:
space:
mode:
authorPeter Pearse <peter.pearse@arm.com>2007-08-14 15:40:00 +0100
committerPeter Pearse <peter.pearse@arm.com>2007-08-14 15:40:00 +0100
commite54b970173769307a116bd34028b6d0c2eea2a4e (patch)
tree42c394666a0fb570866e11d5505eddc5377d6442 /drivers/at45.c
parent0c42f36f15074bd9808a7dbd7ef611fad9bf537c (diff)
downloadu-boot-imx-e54b970173769307a116bd34028b6d0c2eea2a4e.zip
u-boot-imx-e54b970173769307a116bd34028b6d0c2eea2a4e.tar.gz
u-boot-imx-e54b970173769307a116bd34028b6d0c2eea2a4e.tar.bz2
Supply spi interface in at45.c
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