Skip to content
Commit f59dab8d authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: nand: sunxi: fix support for 512bytes ECC chunks



The driver is incorrectly assuming that the ECC block size is always 1k
which is not always true.

Also take the other cases into account.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent b156b7f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment