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

Justin Treon justin_treon at yahoo.com
Tue Nov 13 19:16:32 EST 2007


> 
> I think the following patch should satisfy everyones concerns.  It has not been
> tested.  
> 
> 1. I have added a kernel config option to enable/disable automatic unlocking.  
> 2. The automatic unlocking can be disabled for a particular partition in the map
> or
> the command line.
> For the bit mask in the map it should look like:
> .mask_flags	= MTD_POWERUP_LOCK,
>    b. mtd_parts=0x80000(bootloader)lk
Minor correction to item 2.

For the bit mask in the map it should look like:
   .mask_flags	= MTD_POWERUP_LOCK,
For the command line parsing it should look like:
   mtdparts=0x80000(bootloader)lk


> 3. This will only unlock parts with instant individual block locking.
> 



      ____________________________________________________________________________________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  http://overview.mail.yahoo.com/



More information about the linux-mtd mailing list