summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorAustin Boyle <Austin.Boyle@aviatnet.com>2013-01-04 13:02:28 +1300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 09:26:29 +0200
commit972e1b7b450a93589b2a4c709e68f68da059aa5c (patch)
tree0611caf8ab75df49896c6c7890a96a7513fef88e /drivers/cpuidle
parentaca662a3b1c9b178536267da9fb2f0faa798cb7f (diff)
mtd: m25p80: Flash protection support for STmicro chips
This patch adds generic support for flash protection on STmicro chips. On chips with less than 3 protection bits, the unused bits are don't cares and so can be written anyway. The lock function will only change the protection bits if it would not unlock other areas. Similarly, the unlock function will not lock currently unlocked areas. Tested on the m25p64. Signed-off-by: Austin Boyle <Austin.Boyle@aviatnet.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions