What part of the code puts CFI Flash into write-mode and read-mode?

Nicolas Pitre nico at cam.org
Wed Feb 13 08:54:39 EST 2008


On Wed, 13 Feb 2008, Leon Woestenberg wrote:

> Hello,
> 
> I'ld like to make a trace of whether a CFI FlashROM is in read- or
> write mode, but have difficulty understanding where this transition
> occurs in the MTD source code.
> 
> Can someone give me a pointer?

Searrch for lines that look like:

	chip->state = FL_WRITING;

or

	chip->state = FL_WRITING_TO_BUFFER;

Etc.


Nicolas



More information about the linux-mtd mailing list