commit | 9938424f0c4d208883cbf32083ec2bfcc220f85b | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Mon Jun 14 18:10:33 2010 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Aug 02 09:03:41 2010 +0100 |
tree | e4f7581c7543673fe63c98f9804e934a77aeb7ef | |
parent | 1df620637fc3b252b69c92ced486b5b6b643dd1a [diff] |
mtd: add an ioctl to query the lock status of a flash sector This patchs adds a way for user space programs to find out whether a flash sector is locked. An optional driver method in the mtd_info struct provides the information. Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>