Name

single_erase — [GENERIC] NAND standard block erase command function

Synopsis

int single_erase (struct mtd_info * mtd,
 int page);
 

Arguments

struct mtd_info * mtd

MTD device structure

int page

the page address of the block which will be erased

Description

Standard erase command for NAND chips. Returns NAND status.