projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c42f36
)
Supply spi interface in at45.c
author
Peter Pearse
<peter.pearse@arm.com>
Tue, 14 Aug 2007 14:40:00 +0000
(15:40 +0100)
committer
Peter Pearse
<peter.pearse@arm.com>
Tue, 14 Aug 2007 14:40:00 +0000
(15:40 +0100)
drivers/at45.c
patch
|
blob
|
history
diff --git
a/drivers/at45.c
b/drivers/at45.c
index
4c12ca7
..
7d35695
100755
(executable)
--- 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