[MTD] User interface to Protection Registers
authorNicolas Pitre <nico@cam.org>
Tue, 8 Feb 2005 17:45:55 +0000 (17:45 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:26:04 +0000 (12:26 +0200)
commit31f4233baeaaeb7c563d2766781c6592ad259b6a
tree475ffcfcc1fe91a47d6b8c413d8f25b3fdfcc1c0
parentf77814dd5728edaf1239d19755d2aa0d8c33d861
[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>
drivers/mtd/mtdchar.c
include/mtd/mtd-abi.h