SysTutorials

Linux Manual Pages › Section 9

single_erase(9)

single_erase – [GENERIC] NAND standard block erase command function

Synopsis

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

Arguments

mtd

MTD device structure

page

the page address of the block which will be erased

Description

Standard erase command for NAND chips. Returns NAND status.

Author

Thomas Gleixner <tglx [at] linutronix.de>

Author.

Copyright