lkml.org 
[lkml]   [2023]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 1/4] mtd: rawnand: Add destructive operation
From
Date


On 10/23/2023 10:14 AM, dregan@broadcom.com wrote:
> From: Boris Brezillon <bbrezillon@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@kernel.org>
> Signed-off-by: David Regan <dregan@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@broadcom.com>
[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2023-10-26 02:26    [W:2.857 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site