diff options
author | Rodolfo Giometti <giometti@enneenne.com> | 2007-03-26 21:45:43 -0800 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-02 14:12:23 -0400 |
commit | 0ecbc81adfcb9f15f86b05ff576b342ce81bbef8 (patch) | |
tree | 037741dc830ffff7e21b4f1ed343a613e0752414 /include/linux/mtd | |
parent | 8dc64fca75b631142f282047d7f6ae9e8af82543 (diff) | |
download | talos-obmc-linux-0ecbc81adfcb9f15f86b05ff576b342ce81bbef8.tar.gz talos-obmc-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/linux/mtd')
-rw-r--r-- | include/linux/mtd/mtd.h | 1 |
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 */ }; /* |