diff options
author | Peter Pearse <peter.pearse@arm.com> | 2007-08-14 15:40:00 +0100 |
---|---|---|
committer | Peter Pearse <peter.pearse@arm.com> | 2007-08-14 15:40:00 +0100 |
commit | e54b970173769307a116bd34028b6d0c2eea2a4e (patch) | |
tree | 42c394666a0fb570866e11d5505eddc5377d6442 /drivers | |
parent | 0c42f36f15074bd9808a7dbd7ef611fad9bf537c (diff) | |
download | u-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')
-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 |