diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2006-05-12 10:03:07 -0400 |
---|---|---|
committer | Jarkko Lavinen <lavinen@pentafluge.infradead.org> | 2006-05-12 10:35:50 -0400 |
commit | 493c646077ef0b8668ed71b8057f81cb7454af87 (patch) | |
tree | e05992a8d8c9ba911e5a9809dc0678ca50e96c76 /drivers/mtd/mtdchar.c | |
parent | 3cecf69ecde22199699c4f0e609dfed2a487b674 (diff) |
OneNAND: One-Time Programmable (OTP) support
One Block of the NAND Flash Array memory is reserved as
a One-Time Programmable Block memory area.
Also, 1st Block of NAND Flash Array can be used as OTP.
The OTP block can be read, programmed and locked using the same
operations as any other NAND Flash Array memory block.
OTP block cannot be erased.
OTP block is fully-guaranteed to be a valid block.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
-rw-r--r-- | drivers/mtd/mtdchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 6b83aee8abb8..7a7df851c993 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c | |||
@@ -552,7 +552,7 @@ static int mtd_ioctl(struct inode *inode, struct file *file, | |||
552 | break; | 552 | break; |
553 | } | 553 | } |
554 | 554 | ||
555 | #ifdef CONFIG_MTD_OTP | 555 | #if defined(CONFIG_MTD_OTP) || defined(CONFIG_MTD_ONENAND_OTP) |
556 | case OTPSELECT: | 556 | case OTPSELECT: |
557 | { | 557 | { |
558 | int mode; | 558 | int mode; |