supporting flash that powers up locked

Josh Boyer jwboyer at
Wed Mar 21 09:25:38 EDT 2007

On Mon, 2007-03-19 at 09:44 +0100, Rodolfo Giometti wrote:
> Hello,
> I noticed that this topic has been issued several times during last
> years. I found several solutions but no one has been reported into the
> main line.

Actually, there was one recently.  The MTD_STUPID_LOCK flag was added,
and if the chip driver sets that for a particular chip the core will
unlock them when add_mtd_device is called.

> Can you please tell me current work around? I'm using strataflash
> Intel P30.

You'd need to add a fixup to cfi_cmdset_0001.c for P30 to set that flag.
See the fixup_use_amtel_lock function in cfi_cmdset_0002.c for an


More information about the linux-mtd mailing list