commit | d7687c53183d77453fbd79450fae722fffac9785 | [log] [tgz] |
---|---|---|
author | Peter Pearse <peter.pearse@arm.com> | Tue Aug 14 15:40:00 2007 +0100 |
committer | Peter Pearse <peter.pearse@arm.com> | Tue Aug 14 15:40:00 2007 +0100 |
tree | 42c394666a0fb570866e11d5505eddc5377d6442 | |
parent | 2fbbf3eb6d930cb4558452b257ecfcf11a6100eb [diff] |
Supply spi interface in at45.c
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