mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-20 03:01:19 +01:00
Supply spi interface in at45.c
This commit is contained in:
parent
0c42f36f15
commit
e54b970173
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue