diff options
author | Peter Pearse <peter.pearse@arm.com> | 2007-08-14 14:40:00 (GMT) |
---|---|---|
committer | Peter Pearse <peter.pearse@arm.com> | 2007-08-14 14:40:00 (GMT) |
commit | e54b970173769307a116bd34028b6d0c2eea2a4e (patch) | |
tree | 42c394666a0fb570866e11d5505eddc5377d6442 | |
parent | 0c42f36f15074bd9808a7dbd7ef611fad9bf537c (diff) | |
download | u-boot-e54b970173769307a116bd34028b6d0c2eea2a4e.tar.xz |
Supply spi interface in at45.c
-rwxr-xr-x | drivers/at45.c | 5 |
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 |