On Mon, May 2, 2011 at 04:53, Prafulla Wadaskar wrote: > From: Simon Guinot [mailto:sgui...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot