From: Peter Pearse Date: Tue, 14 Aug 2007 14:40:00 +0000 (+0100) Subject: Supply spi interface in at45.c X-Git-Tag: v1.3.0-rc1~19^2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e54b970173769307a116bd34028b6d0c2eea2a4e;p=pandora-u-boot.git Supply spi interface in at45.c --- diff --git a/drivers/at45.c b/drivers/at45.c index 4c12ca7a31d..7d35695b100 100755 --- a/drivers/at45.c +++ b/drivers/at45.c @@ -24,6 +24,11 @@ #ifdef CONFIG_HAS_DATAFLASH #include +/* + * spi.c API + */ +extern unsigned int AT91F_SpiWrite (AT91PS_DataflashDesc pDesc); +extern void AT91F_SpiEnable(int cs); #define AT91C_TIMEOUT_WRDY 200000