[U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash
Mike Frysinger
vapier at gentoo.org
Mon May 2 14:17:09 CEST 2011
On Mon, May 2, 2011 at 04:53, Prafulla Wadaskar wrote:
> From: Simon Guinot [mailto:sguinot at lacie.com]
>> --- a/drivers/mtd/spi/macronix.c
>> +++ b/drivers/mtd/spi/macronix.c
>> + if (macronix_disable_protect(&mcx->flash))
>> + printf("SF: disable write protection failed\n");
>
> This will forced disable the flash being written.
> What if some one has purposely protected certain flash sectors?
>
> This feature should be addressed through protect CLI
there is no spi flash protect api today, so until that happens, what
Simon is proposing is correct
-mike
More information about the U-Boot
mailing list