Skip to content
Commit 6d3fa0df authored by Joe Hershberger's avatar Joe Hershberger Committed by Michal Simek
Browse files

mtd: nand: zynq: Add support for the NAND lock/unlock operation



Zynq NAND driver is not support for NAND lock or unlock operation.
Hence, accidentally write into the critical NAND region might cause
data corruption to occur.

This commit is to add NAND lock/unlock command into NAND SMC register
set for NAND lock/unlock operaion.

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Signed-off-by: default avatarKeng Soon Cheah <keng.soon.cheah@ni.com>
Cc: Chen Yee Chew <chen.yee.chew@ni.com>
Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Scott Wood <oss@buserror.net>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 310995d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment