projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fcb2ee
)
nandbcb: fix the issue cannot support gf_14 NAND boot
author
Han Xu
<han.xu@nxp.com>
Tue, 5 May 2020 14:03:59 +0000
(22:03 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000
(20:55 +0200)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/cmd_nandbcb.c
b/arch/arm/mach-imx/cmd_nandbcb.c
index b3e59b1b003550c0ec92b67186105268ff47f5bc..103c3d6a0871264bdacba21e96dac439e9dd978f 100644
(file)
--- a/
arch/arm/mach-imx/cmd_nandbcb.c
+++ b/
arch/arm/mach-imx/cmd_nandbcb.c
@@
-154,6
+154,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()) {