[U-Boot] [PATCH 1/5] sf: Add status register protection mechanism

Bin Meng bmeng.cn at gmail.com
Tue Oct 11 04:05:11 CEST 2016


On Tue, Oct 11, 2016 at 2:57 AM, George McCollister
<george.mccollister at gmail.com> 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 <george.mccollister at gmail.com>
> ---
>  include/spi_flash.h | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list