mtd/include/mtd mtd-abi.h,1.7,1.8

Nicolas Pitre nico at infradead.org
Tue Feb 8 12:11:19 EST 2005


Update of /home/cvs/mtd/include/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv22136/include/mtd

Modified Files:
	mtd-abi.h 
Log Message:
support for Protection Registers on Intel flash chips

This enables support for reading, writing and locking so called
"Protection Registers" present on some flash chips.
A subset of them are pre-programmed at the factory with a
unique set of values. The rest is user-programmable.

Signed-off-by: Nicolas Pitre <nico at cam.org>



Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mtd-abi.h	23 Nov 2004 15:37:32 -0000	1.7
+++ mtd-abi.h	8 Feb 2005 17:11:16 -0000	1.8
@@ -80,6 +80,12 @@
 	uint32_t regionindex;
 };
 
+struct otp_info {
+	uint32_t start;
+	uint32_t length;
+	uint32_t locked;
+};
+
 #define MEMGETINFO              _IOR('M', 1, struct mtd_info_user)
 #define MEMERASE                _IOW('M', 2, struct erase_info_user)
 #define MEMWRITEOOB             _IOWR('M', 3, struct mtd_oob_buf)





More information about the linux-mtd-cvs mailing list