__nand_unlock — [REPLACABLE] unlocks specified locked blockes
int __nand_unlock ( | struct mtd_info * mtd, |
| loff_t ofs, | |
| uint64_t len, | |
int invert); |
param mtd - mtd info
param ofs - offset to start unlock from
param len - length to unlock
invert - when = 0, unlock the range of blocks within the lower and
upper boundary address
whne = 1, unlock the range of blocks outside the boundaries
of the lower and upper boundary address
return - unlock status