diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2006-05-12 17:03:07 +0300 |
---|---|---|
committer | Jarkko Lavinen <lavinen@pentafluge.infradead.org> | 2006-05-12 15:35:50 +0100 |
commit | 493c646077ef0b8668ed71b8057f81cb7454af87 (patch) | |
tree | e05992a8d8c9ba911e5a9809dc0678ca50e96c76 /drivers/mtd/mtdchar.c | |
parent | 3cecf69ecde22199699c4f0e609dfed2a487b674 (diff) | |
download | op-kernel-dev-493c646077ef0b8668ed71b8057f81cb7454af87.zip op-kernel-dev-493c646077ef0b8668ed71b8057f81cb7454af87.tar.gz |
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 6b83aee..7a7df85 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, break; } -#ifdef CONFIG_MTD_OTP +#if defined(CONFIG_MTD_OTP) || defined(CONFIG_MTD_ONENAND_OTP) case OTPSELECT: { int mode; |