Re: [PATCH] mtd: rawnand: denali: remove ->erase hook
From: Miquel Raynal
Date: Fri Jan 25 2019 - 07:37:12 EST
Hi Masahiro,
Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote on Mon, 21 Jan
2019 13:52:06 +0900:
> Commit f9ebd1bb4103 ("mtd: rawnand: Deprecate ->erase()") discouraged
> the use of this hook, so I am happy to follow the suggestion.
>
> Although the Denali IP provides a special MAP10 command for erasing,
> using it would not buy us much. The Denali IP actually works with the
> generic erasing by single_erase() + ->cmdfunc hook (nand_command_lp)
> + ->cmd_ctrl hook (denali_cmd_ctrl).
>
> This method is also deprecated, but denali_erase() can go away
> irrespective of ->exec_op conversion.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Applied to nand/next.
Thanks!
MiquÃl