apps/utils/mtdutils-IR1_0_1-3/flash_erase.c File Reference

#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <time.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <mtd/mtd-user.h>

Include dependency graph for flash_erase.c:

Go to the source code of this file.

Functions

int region_erase (int Fd, int start, int count, int unlock, int regcount)
int non_region_erase (int Fd, int start, int count, int unlock)
int main (int argc, char *argv[])


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 137 of file flash_erase.c.

References MEMGETREGIONCOUNT, non_region_erase(), region_erase(), start, and stderr.

int non_region_erase ( int  Fd,
int  start,
int  count,
int  unlock 
)

Definition at line 94 of file flash_erase.c.

References MEMERASE, MEMGETINFO, MEMUNLOCK, and stdout.

Referenced by main().

int region_erase ( int  Fd,
int  start,
int  count,
int  unlock,
int  regcount 
)

Definition at line 15 of file flash_erase.c.

References MEMERASE, MEMGETREGIONINFO, MEMUNLOCK, and stdout.

Referenced by main().


Generated on Thu Aug 7 16:20:00 2008 for elphel by  doxygen 1.5.1