]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Supply spi interface in at45.c
authorPeter Pearse <peter.pearse@arm.com>
Tue, 14 Aug 2007 14:40:00 +0000 (15:40 +0100)
committerPeter Pearse <peter.pearse@arm.com>
Tue, 14 Aug 2007 14:40:00 +0000 (15:40 +0100)
drivers/at45.c

index 4c12ca7a31d3f520743b828ca7b90e54e8bae023..7d35695b100dd22423b193103c08a4920e20c644 100755 (executable)
 #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