mtd/include/linux/mtd xip.h,NONE,1.1 flashchip.h,1.14,1.15

Nicolas Pitre nico at infradead.org
Fri Nov 5 17:41:09 EST 2004


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

Modified Files:
	flashchip.h 
Added Files:
	xip.h 
Log Message:
This allows for MTD support to be used on flash memory which is also used
for XIP purposes, either XIP kernel or XIP userspace.  The whole idea is
to relocate functions actually modifying the flash state away from array mode
to ram and run them with interrupt disabled.  When the flash needs some time
to complete a certain operation, we poll the processor for pending (but still
masked) interrupts, and when they occur we suspend the flash operation in order
to unmask interrupts and let the system run again.


***** Error reading new file: [Errno 2] No such file or directory: 'xip.h'
Index: flashchip.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/flashchip.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- flashchip.h	15 Jun 2004 16:44:59 -0000	1.14
+++ flashchip.h	5 Nov 2004 22:41:06 -0000	1.15
@@ -37,6 +37,8 @@
 	FL_LOCKING,
 	FL_UNLOCKING,
 	FL_POINT,
+	FL_XIP_WHILE_ERASING,
+	FL_XIP_WHILE_WRITING,
 	FL_UNKNOWN
 } flstate_t;
 





More information about the linux-mtd-cvs mailing list