From: Peter Pearse Date: Tue, 14 Aug 2007 14:40:00 +0000 (+0100) Subject: Supply spi interface in at45.c X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e54b970173769307a116bd34028b6d0c2eea2a4e;p=u-boot.git Supply spi interface in at45.c --- diff --git a/drivers/at45.c b/drivers/at45.c index 4c12ca7a31..7d35695b10 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