mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
Supply spi interface in at45.c
This commit is contained in:
parent
0c42f36f15
commit
e54b970173
@ -24,6 +24,11 @@
|
|||||||
#ifdef CONFIG_HAS_DATAFLASH
|
#ifdef CONFIG_HAS_DATAFLASH
|
||||||
#include <dataflash.h>
|
#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
|
#define AT91C_TIMEOUT_WRDY 200000
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user