[PATCH 1/1] MTD: Unlocking all Intel flash that is locked on power up

Nicolas Pitre nico at cam.org
Mon Nov 12 23:55:50 EST 2007


On Mon, 12 Nov 2007, Justin Treon wrote:

> > What about a new partition flag then?  When set the unlock method would 
> > be called on the corresponding partition if the partition is not already 
> > marked read-only.
> > 
> 
> I think that a partition flag is a good idea, but the mtd partition should be
> unlocked by defualt if it is not read only and adding the flag will keep it locked.

And in fact this is already implemented, and the partition flag (which 
is actually a negative flag) is already called MTD_STUPID_LOCK.

So let's go back to finding your flash model requiring a 
fixup_use_powerup_lock() call.


Nicolas



More information about the linux-mtd mailing list