1__NAND_UNLOCK(9) Internal Functions Provided __NAND_UNLOCK(9)
2
3
4
6 __nand_unlock - [REPLACEABLE] unlocks specified locked blocks
7
9 int __nand_unlock(struct mtd_info * mtd, loff_t ofs, uint64_t len,
10 int invert);
11
13 mtd
14 mtd info
15
16 ofs
17 offset to start unlock from
18
19 len
20 length to unlock
21
22 invert
23 when = 0, unlock the range of blocks within the lower and upper
24 boundary address when = 1, unlock the range of blocks outside the
25 boundaries of the lower and upper boundary address
26
28 Returs unlock status.
29
31 Thomas Gleixner <tglx@linutronix.de>
32 Author.
33
35Kernel Hackers Manual 3.10 June 2019 __NAND_UNLOCK(9)