other versions
__NAND_UNLOCK(9) | Internal Functions Provided | __NAND_UNLOCK(9) |
NAME¶
__nand_unlock - [REPLACEABLE] unlocks specified locked blocks
SYNOPSIS¶
int __nand_unlock(struct mtd_info * mtd, loff_t ofs, uint64_t len, int invert);
ARGUMENTS¶
struct mtd_info * mtd
mtd info
loff_t ofs
offset to start unlock from
uint64_t len
length to unlock
int invert
when = 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
DESCRIPTION¶
Returs unlock status.
AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |