From mboxrd@z Thu Jan 1 00:00:00 1970 From: George McCollister Date: Fri, 28 Oct 2016 12:06:46 -0500 Subject: [U-Boot] [PATCH 0/5] sf: Add support for status register protect In-Reply-To: <20161010185801.27991-1-george.mccollister@gmail.com> References: <20161010185801.27991-1-george.mccollister@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Oct 10, 2016 at 1:57 PM, George McCollister wrote: > Many SPI NOR flash devices support status register protection through > one or two status register protection bits. Protection of the status > register is essential in defending the device from rogue software which > may attempt to modify block protection bits in order to make malicious > modifications to the data stored in flash. This patch series adds > status register protect support for STMICRO, SST, Winbond and Spansion > devices and also implements an sf sub-command to set the used > protection method. > > George McCollister (5): > sf: Add status register protection mechanism > sf: Add status register protect for STMICRO, SST > sf: Use stm_lock/unlock for Spansion and Winbond > sf: Add status register protect for Winbond > sf: Add sr-protect sub-command > > cmd/sf.c | 28 ++++++++++++ > drivers/mtd/spi/sf_internal.h | 2 + > drivers/mtd/spi/spi_flash.c | 103 +++++++++++++++++++++++++++++++++++++++++- > include/spi_flash.h | 17 +++++++ > 4 files changed, 149 insertions(+), 1 deletion(-) > > -- > 2.9.3 > Jagan, I think get_maintainer.pl may have given me an old email address for you and you may have missed it on the mailing list. Either way if you get a chance I'd like hear what you think. I'm not sure which tree/branch you're working with (u-boot-spi master?) but if you need it rebased just let me know. Thanks, George