On Tue, Oct 11, 2016 at 2:58 AM, George McCollister <george.mccollis...@gmail.com> wrote: > Winbond parts such as W25Q64FV and Spansion parts such as S25FL128S > support two status register protection bits. Implement sr_protect for > Winbond and Spansion devices. > > ------------------------------------------------------- > | SRP1 | SRP0 | Method | Description | > -------------------------|----------------------------- > | 0 | 0 | Software | Blocked until write enable | > | 0 | 1 | Hardware | Blocked if WP pin is low | > | 1 | 0 | Power | Blocked until power down | > | 1 | 1 | OTP | Blocked permanently | > ------------------------------------------------------- > > Not all devices support OTP. > > Signed-off-by: George McCollister <george.mccollis...@gmail.com> > --- > drivers/mtd/spi/sf_internal.h | 1 + > drivers/mtd/spi/spi_flash.c | 57 > +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 58 insertions(+) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot