From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 11 Oct 2016 10:05:11 +0800 Subject: [U-Boot] [PATCH 1/5] sf: Add status register protection mechanism In-Reply-To: <20161010185801.27991-2-george.mccollister@gmail.com> References: <20161010185801.27991-1-george.mccollister@gmail.com> <20161010185801.27991-2-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 Tue, Oct 11, 2016 at 2:57 AM, George McCollister wrote: > Many SPI NOR flash devices support status register protection through > one or two status register protection bits. Status register protection > enables protection of block protect and other bits from manipulation. > > So far, four different status register protection methods have been > observed: > > Software - Writes to the status register are blocked until > a write enable bit is set by software. > Hardware - Writes to the status register are blocked while > a pin is in a certain state. > Power - Writes to the status register are blocked until > the next power-down. > One Time Program - Writes to the status register are permanently > blocked. > > Signed-off-by: George McCollister > --- > include/spi_flash.h | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > Reviewed-by: Bin Meng