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

From: Florian Fainelli
Date: Sat Nov 25 2023 - 12:24:55 EST




On 11/24/2023 5:24 PM, dregan@xxxxxxxxxxxx wrote:
From: Boris Brezillon <bbrezillon@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: David Regan <dregan@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian