[U-Boot] [PATCH 0/5] sf: Add support for status register protect
George McCollister
george.mccollister at gmail.com
Mon Oct 10 20:57:56 CEST 2016
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
More information about the U-Boot
mailing list