aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2020-05-06 20:59:19 +0800
committerStefano Babic <sbabic@denx.de>2020-05-10 20:55:20 +0200
commitbf9382addf94c9b90033a1eac5522afae9b7a0d7 (patch)
treed9038b8c0a06ccefa23fcbc3ca2a7582cfe82216 /include
parentf797fe84fc8e609443a1352bd816ee9cf328416d (diff)
downloadu-boot-bf9382addf94c9b90033a1eac5522afae9b7a0d7.zip
u-boot-bf9382addf94c9b90033a1eac5522afae9b7a0d7.tar.gz
u-boot-bf9382addf94c9b90033a1eac5522afae9b7a0d7.tar.bz2
mtd: nand: raw: mxs_nand changes for nandbcb
Add more BCH setting mode and remove the unnecessary platform constrain Signed-off-by: Han Xu <han.xu@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/mxs_nand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mxs_nand.h b/include/mxs_nand.h
index 21d68a9..c0cefac 100644
--- a/include/mxs_nand.h
+++ b/include/mxs_nand.h
@@ -95,7 +95,8 @@ int mxs_nand_init_ctrl(struct mxs_nand_info *nand_info);
int mxs_nand_init_spl(struct nand_chip *nand);
int mxs_nand_setup_ecc(struct mtd_info *mtd);
-void mxs_nand_mode_fcb(struct mtd_info *mtd);
+void mxs_nand_mode_fcb_62bit(struct mtd_info *mtd);
+void mxs_nand_mode_fcb_40bit(struct mtd_info *mtd);
void mxs_nand_mode_normal(struct mtd_info *mtd);
u32 mxs_nand_mark_byte_offset(struct mtd_info *mtd);
u32 mxs_nand_mark_bit_offset(struct mtd_info *mtd);