[U-Boot] [PATCH 2/5] sf: Add status register protect for STMICRO, SST

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


On Tue, Oct 11, 2016 at 2:57 AM, George McCollister
<george.mccollister at gmail.com> wrote:
> STMICRO parts such as M25PX64 and SST parts such as SST26VF032B support
> a single status register protect bit. When set this bit cause writes to
> the status register to be blocked when the write protect signal is low.
>
> Implement sr_protect for these devices.
>
> Signed-off-by: George McCollister <george.mccollister at gmail.com>
> ---
>  drivers/mtd/spi/sf_internal.h |  1 +
>  drivers/mtd/spi/spi_flash.c   | 35 +++++++++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+)
>

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


More information about the U-Boot mailing list