X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdataflash.h;h=94f86b3a306c21ea5fd79b2e63035f0e7ffc1d14;hb=c5c59df04d6bb394209936c2a2c2a3054ead9150;hp=63b3bf9634334e7ccd7c7ead82a0e095fed9afb2;hpb=6d0f6bcf337c5261c08fabe12982178c2c489d76;p=u-boot diff --git a/include/dataflash.h b/include/dataflash.h index 63b3bf9634..94f86b3a30 100644 --- a/include/dataflash.h +++ b/include/dataflash.h @@ -34,7 +34,6 @@ #define _DataFlash_h -#include #include "config.h" /*number of protected area*/ @@ -208,7 +207,10 @@ extern int addr2ram(ulong addr); extern int dataflash_real_protect (int flag, unsigned long start_addr, unsigned long end_addr); extern int addr_dataflash (unsigned long addr); extern int read_dataflash (unsigned long addr, unsigned long size, char *result); -extern int write_dataflash (unsigned long addr, unsigned long dest, unsigned long size); +extern int write_dataflash(unsigned long addr_dest, unsigned long addr_src, + unsigned long size); +extern int AT91F_DataflashInit(void); + extern void dataflash_print_info (void); extern void dataflash_perror (int err); extern void AT91F_DataflashSetEnv (void);