projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644f707
)
MLK-22723-2: nandbcb: fix the issue cannot support gf_14 NAND boot
author
Han Xu
<han.xu@nxp.com>
Wed, 9 Oct 2019 15:31:38 +0000
(10:31 -0500)
committer
Ye Li
<ye.li@nxp.com>
Fri, 11 Oct 2019 06:33:51 +0000
(23:33 -0700)
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>
(cherry picked from commit
9cc7bf9b17565b4e0d73acd690e32394034dfae2
)
arch/arm/mach-imx/cmd_nandbcb.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/cmd_nandbcb.c
b/arch/arm/mach-imx/cmd_nandbcb.c
index
a02edfc
..
661caba
100644
(file)
--- a/
arch/arm/mach-imx/cmd_nandbcb.c
+++ b/
arch/arm/mach-imx/cmd_nandbcb.c
@@
-86,6
+86,7
@@
static void fill_fcb(struct fcb_block *fcb, struct mtd_info *mtd,
fcb->ecc_level = l.ecc0;
fcb->ecc_size = l.datan_size;
fcb->ecc_type = l.eccn;
+ fcb->bchtype = l.gf_len;
/* Also hardcoded in kobs-ng */
if (is_mx6()) {