mpc85xx: p2020: Fix nand driver probe
authorPawel Dembicki <paweldembicki@gmail.com>
Wed, 24 Feb 2021 13:33:49 +0000 (14:33 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Feb 2021 23:34:23 +0000 (00:34 +0100)
commit0d062b6246026af6c2155941adaa1bdeac6af7f1
tree3411a9b15696a5658a7241397a167c8e5ee13272
parent1d3b1171aeedcf13497e24c6c22a580670d088f8
mpc85xx: p2020: Fix nand driver probe

At this moment driver start fail with error:
[    3.771991] fsl,elbc-fcm-nand: probe of ffa00000.nand failed with error -22

elbc-fcm-nand driver use legacy method of ecc mode detection. It detect hw/sw
ecc mode when system configure it to "none". [1]

This patch adds 'nand-ecc-mode = "none"' propoerty to use generic driver
ecc mode detection.

[1] https://elixir.bootlin.com/linux/v5.10.18/source/drivers/mtd/nand/raw/fsl_elbc_nand.c#L730

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
target/linux/mpc85xx/patches-5.10/104-powerpc-mpc85xx-change-P2020RDB-dts-file-for-OpenWRT.patch