other versions
- wheezy 3.2.78-1
NAND_LOCK(9) | Public Functions Provided | NAND_LOCK(9) |
NAME¶
nand_lock - [REPLACEABLE] locks all blocks present in the deviceSYNOPSIS¶
int
nand_lock(struct mtd_info * mtd,
loff_t ofs, uint64_t len);
ARGUMENTS¶
mtdmtd info
ofs
offset to start unlock from
len
length to unlock
DESCRIPTION¶
This feature is not supported in many NAND parts. 'Micron' NAND parts do have this feature, but it allows only to lock all blocks, not for specified range for block. Implementing 'lock' feature by making use of 'unlock', for now. Returns lock status.AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>Author.
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |