#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[]) |
Definition at line 137 of file flash_erase.c.
References MEMGETREGIONCOUNT, non_region_erase(), region_erase(), start, and stderr.
Definition at line 94 of file flash_erase.c.
References MEMERASE, MEMGETINFO, MEMUNLOCK, and stdout.
Referenced by main().
Definition at line 15 of file flash_erase.c.
References MEMERASE, MEMGETREGIONINFO, MEMUNLOCK, and stdout.
Referenced by main().