Thread (14 messages) 14 messages, 3 authors, 2021-05-26

Re: [PATCH v2 4/5] mtd: rawnand: arasan: Ensure proper configuration for the asserted target

From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2021-05-26 09:03:44

On Mon, 2021-05-10 at 10:40:50 UTC, Miquel Raynal wrote:
The controller being always asserting one CS or the other, there is no
need to actually select the right target before doing a page read/write.
However, the anfc_select_target() helper actually also changes the
timing configuration and clock in the case were two different NAND chips
with different timing requirements would be used. In this situation, we
must ensure proper configuration of the controller by calling it.

As a consequence of this change, the anfc_select_target() helper is
being moved earlier in the driver.

Fixes: 88ffef1b65cf ("mtd: rawnand: arasan: Support the hardware BCH ECC engine")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help