nandbcb: fix the issue cannot support gf_14 NAND boot
authorHan Xu <han.xu@nxp.com>
Tue, 5 May 2020 14:03:59 +0000 (22:03 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
commitc6ed3508bda58ab4a750eb11956f7779cc27e84d
treef70a89208d9b6acea5bf6f8ed270726acf7c9762
parent6fcb2ee78337b7d8201baf23c398f5061110dd1d
nandbcb: fix the issue cannot support gf_14 NAND boot

bchtype in FCB should be associated to the gf_13/14 settings in BCH, fix
the issue and test on Micron 29F64G08CBABB, it can boot after the
change.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/cmd_nandbcb.c