Revert "mtd: rawnand: arasan: Prevent an unsupported configuration"
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Wed, 7 Jun 2023 05:39:36 +0000 (11:09 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 9 Jun 2023 15:21:08 +0000 (17:21 +0200)
commit21962132044653f42ff8bbb37127c2557d6c39c2
tree15adf90290d2b4af52e1ce432ecddfa5e72a95ff
parentef1560b670bd28ca3230c7f5ad29c6a211fb1adb
Revert "mtd: rawnand: arasan: Prevent an unsupported configuration"

This reverts commit fc9e18f9e987ad46722dad53adab1c12148c213c.

This patch was a work around to fix timeout issue while operating in NVDDR
mode with software ECC engine. This patch prevents the Arasan NAND driver
from operating in NVDDR mode with software ECC engine resulting in a
significant performance degradation with SW-ECC.
'commit 7499bfeedb47 ("mtd: rawnand: arasan: Update NAND bus clock instead
of system clock")' and 'commit e16eceea863b ("mtd: rawnand: arasan: Fix
clock rate in NV-DDR")'
fixes the timeout issue in NVDDR mode with SW-ECC so, reverting the changes
as this work around is no longer required.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230607053936.14306-1-amit.kumar-mahapatra@amd.com
drivers/mtd/nand/raw/arasan-nand-controller.c