mtd/drivers/mtd mtdchar.c,1.79,1.80

kyungmin.park at samsung.com kyungmin.park at samsung.com
Tue Feb 21 19:26:40 EST 2006


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv3220/drivers/mtd

Modified Files:
	mtdchar.c 
Log Message:
[MTD] 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.


Index: mtdchar.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdchar.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- mtdchar.c	6 Jan 2006 13:35:31 -0000	1.79
+++ mtdchar.c	22 Feb 2006 00:26:36 -0000	1.80
@@ -557,7 +557,7 @@
 		break;
 	}
 
-#ifdef CONFIG_MTD_OTP
+#if defined(CONFIG_MTD_OTP) || defined(CONFIG_MTD_ONENAND_OTP)
 	case OTPSELECT:
 	{
 		int mode;





More information about the linux-mtd-cvs mailing list