commit | 31f4233baeaaeb7c563d2766781c6592ad259b6a | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nico@cam.org> | Tue Feb 08 17:45:55 2005 +0000 |
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | Mon May 23 12:26:04 2005 +0200 |
tree | 475ffcfcc1fe91a47d6b8c413d8f25b3fdfcc1c0 | |
parent | f77814dd5728edaf1239d19755d2aa0d8c33d861 [diff] |
[MTD] User interface to Protection Registers This is implemented using a ioctl to switch the MTD char device into one of the different OTP "modes", at which point read/write/seek can operate on the selected OTP area. Also some extra ioctls to query for size and lock protection segments or groups. Some example user space utilities are provided. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>