X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fdataflash.h;h=94f86b3a306c21ea5fd79b2e63035f0e7ffc1d14;hb=412665b46134f93464c09405e02f08ac9c62526d;hp=63b3bf9634334e7ccd7c7ead82a0e095fed9afb2;hpb=6d0f6bcf337c5261c08fabe12982178c2c489d76;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/dataflash.h b/include/dataflash.h index 63b3bf9..94f86b3 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);