From 90cce0582df43762e3db4176ab392e229a3194dc Mon Sep 17 00:00:00 2001 From: Michael Trimarchi Date: Tue, 30 Aug 2022 16:48:47 +0200 Subject: mtd: mxs_nand: Support EDO mode for imx8mn architecture Add support for imx8mn architecture in order to run the NAND in fast edo mode. Signed-off-by: Michael Trimarchi Reviewed-by: Dario Binacchi Signed-off-by: Dario Binacchi --- include/mxs_nand.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/mxs_nand.h b/include/mxs_nand.h index 741dc8734ea..bb5b84b8c26 100644 --- a/include/mxs_nand.h +++ b/include/mxs_nand.h @@ -12,6 +12,7 @@ #include #include #include +#include /** * @gf_len: The length of Galois Field. (e.g., 13 or 14) @@ -43,6 +44,7 @@ struct mxs_nand_info { struct nand_chip chip; struct udevice *dev; unsigned int max_ecc_strength_supported; + int max_chain_delay; bool use_minimum_ecc; int cur_chip; @@ -59,6 +61,7 @@ struct mxs_nand_info { struct mxs_gpmi_regs *gpmi_regs; struct mxs_bch_regs *bch_regs; + struct clk *gpmi_clk; /* Functions with altered behaviour */ int (*hooked_read_oob)(struct mtd_info *mtd, -- cgit v1.3.1