[PATCH v4 1/4] mtd: rawnand: Add destructive operation

William Zhang william.zhang at broadcom.com
Wed Oct 25 17:25:15 PDT 2023



On 10/23/2023 10:14 AM, dregan at broadcom.com wrote:
> From: Boris Brezillon <bbrezillon at kernel.org>
> 
> Erase and program operations need the write protect (wp) pin to be
> de-asserted to take effect. Add the concept of destructive
> operation and pass the information to exec_op() so controllers know
> when they should de-assert this pin without having to decode
> the command opcode.
> 
> Signed-off-by: Boris Brezillon <bbrezillon at kernel.org>
> Signed-off-by: David Regan <dregan at broadcom.com>
> ---
> Changes in v4: none
> 
> Changes in v3: updated comments and email address
> 
> Changes in v2: gave credit to Boris Brezillon
> ---
>   drivers/mtd/nand/raw/nand_base.c | 6 ++++--
>   include/linux/mtd/rawnand.h      | 9 +++++++++
>   2 files changed, 13 insertions(+), 2 deletions(-)
> 

Reviewed-by: William Zhang <william.zhang at broadcom.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4212 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20231025/65a0e2e7/attachment.p7s>


More information about the linux-mtd mailing list