summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRodolfo Giometti <giometti@enneenne.com>2007-03-27 07:45:43 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-04-02 20:12:23 +0200
commit0ecbc81adfcb9f15f86b05ff576b342ce81bbef8 (patch)
tree037741dc830ffff7e21b4f1ed343a613e0752414 /include
parent[JFFS2] Delete everything related to obsolete JFFS2_PROC option (diff)
downloadlinux-0ecbc81adfcb9f15f86b05ff576b342ce81bbef8.tar.xz
linux-0ecbc81adfcb9f15f86b05ff576b342ce81bbef8.zip
[MTD] [NOR] Support for auto locking flash on power up
Auto unlock sectors on resume for auto locking flash on power up. Signed-off-by: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/mtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 3d956c3abb31..45d482ce8397 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -53,6 +53,7 @@ struct mtd_erase_region_info {
u_int32_t offset; /* At which this region starts, from the beginning of the MTD */
u_int32_t erasesize; /* For this region */
u_int32_t numblocks; /* Number of blocks of erasesize in this region */
+ unsigned long *lockmap; /* If keeping bitmap of locks */
};
/*