Messages in this thread | | | From | shiva.linuxworks@gmail ... | Subject | [PATCH 0/4] enabling Advanced protection and security features | Date | Wed, 27 Oct 2021 10:33:48 +0000 |
| |
From: Shivamurthy Shastri <sshivamurthy@micron.com>
Standard protection features in SPI NOR flashes are legacy and offer a simple way to protect the memory array against accidental or unwanted modification of its content.
These patches enable the support for advanced sector protection which protects memory from accidentally corrupting code and data stored, and it also prevents malicious attacks that could intentionally modify the code or data stored in the memory.
Micron Flashes offer some of the advanced protection methods using volatile lock bits, non-volatile lock bits, global freeze bits, and password.
Shivamurthy Shastri (4): mtd: spi-nor: micron-st: add advanced protection and security features mtd: spi-nor: add advanced protection and security features support mtd: add advanced protection and security ioctls mtd: spi-nor: micron-st: add mt25qu128abb and mt25ql128abb
drivers/mtd/mtdchar.c | 145 ++++++++++++++++++ drivers/mtd/spi-nor/Makefile | 2 +- drivers/mtd/spi-nor/advprotsec.c | 209 ++++++++++++++++++++++++++ drivers/mtd/spi-nor/core.c | 2 + drivers/mtd/spi-nor/core.h | 20 +++ drivers/mtd/spi-nor/micron-st.c | 245 +++++++++++++++++++++++++++++++ include/linux/mtd/mtd.h | 19 +++ include/uapi/mtd/mtd-abi.h | 11 ++ 8 files changed, 652 insertions(+), 1 deletion(-) create mode 100644 drivers/mtd/spi-nor/advprotsec.c
-- 2.25.1
| |