Skip to content
Snippets Groups Projects
Commit 41b358d7 authored by Fabio Estevam's avatar Fabio Estevam Committed by Tom Rini
Browse files

sf: Add SPI protection mechanism from the kernel


Add the SPI NOR protection mechanism from the kernel.

This code is based on the work from
Brian Norris <computersforpeace@gmail.com>
Here is the commit details:
"mtd: spi-nor: refactor block protection functions"
(sha1: 62593cf40b23b523b9fc9334ca61ba6c595ebb09)

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent 2d2f490d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment