MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC
authorAdam Ford <aford173@gmail.com>
Thu, 3 Jan 2019 02:36:52 +0000 (20:36 -0600)
committerStefano Babic <sbabic@denx.de>
Fri, 15 Feb 2019 11:36:08 +0000 (12:36 +0100)
commit5ae585ba3a8bb2336d5cb6e1ef4c80a5ef445409
treeda88da273f69c3a38653bbb3e9a70545489c22aa
parentdc619924c7734e14c459cec2fb5afcec27052bea
MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

The LogicPD board uses a Micron Flash with ECC.  To boot this from
SPL, the ECC needs to be correctly configured or the BCH engine
times out.

Signed-off-by: Adam Ford <aford173@gmail.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Tested-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Tim Harvey <tharvey@gateworks.com>
drivers/mtd/nand/raw/mxs_nand.c
drivers/mtd/nand/raw/mxs_nand_spl.c