__nand_unlock — [REPLACEABLE] unlocks specified locked blocks
int __nand_unlock ( | struct mtd_info * mtd, |
| loff_t ofs, | |
| uint64_t len, | |
int invert); |
struct mtd_info * mtdmtd info
loff_t ofsoffset to start unlock from
uint64_t lenlength to unlock
int invertwhen = 0, unlock the range of blocks within the lower and upper boundary address when = 1, unlock the range of blocks outside the boundaries of the lower and upper boundary address