summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/mxs_nand_dt.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-05-04 22:09:00 +0800
committerStefano Babic <sbabic@denx.de>2020-05-10 20:55:20 +0200
commit39320e7256412ed4b6eee9fc09f7d30f0e4ddee4 (patch)
treeb2fcc6f20a7b84d1cafacdc35b33a04440e4279d /drivers/mtd/nand/raw/mxs_nand_dt.c
parentf290fe0a4291a6251358aaca7a3f25964f0e12da (diff)
mtd: nand: support GPMI NAND driver for i.MX8
enable the GPMI NAND driver for i.MX8, i.MX8 use similar controller as i.MX8M - register definition for i.mx8 - DMA structure must be 32bit address Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/mtd/nand/raw/mxs_nand_dt.c')
-rw-r--r--drivers/mtd/nand/raw/mxs_nand_dt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/mxs_nand_dt.c b/drivers/mtd/nand/raw/mxs_nand_dt.c
index bd429e0d62..c4dc0bb1dd 100644
--- a/drivers/mtd/nand/raw/mxs_nand_dt.c
+++ b/drivers/mtd/nand/raw/mxs_nand_dt.c
@@ -33,6 +33,10 @@ static const struct mxs_nand_dt_data mxs_nand_imx7d_data = {
.max_ecc_strength_supported = 62,
};
+static const struct mxs_nand_dt_data mxs_nand_imx8qxp_data = {
+ .max_ecc_strength_supported = 62,
+};
+
static const struct udevice_id mxs_nand_dt_ids[] = {
{
.compatible = "fsl,imx6q-gpmi-nand",
@@ -50,6 +54,10 @@ static const struct udevice_id mxs_nand_dt_ids[] = {
.compatible = "fsl,imx7d-gpmi-nand",
.data = (unsigned long)&mxs_nand_imx7d_data,
},
+ {
+ .compatible = "fsl,imx8qxp-gpmi-nand",
+ .data = (unsigned long)&mxs_nand_imx8qxp_data,
+ },
{ /* sentinel */ }
};