diff options
author | Ye Li <ye.li@nxp.com> | 2020-05-04 22:08:56 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-05-10 20:55:20 +0200 |
commit | e551ee2deac2f63bc5f84ea0dc3ad3a3b74a107f (patch) | |
tree | 9a4e5ac01c8289c6fe65a6cf5de38fad1425967f /drivers/mtd/nand/raw/mxs_nand_dt.c | |
parent | b209635c7a7f66e97d23de3b8c7f87d08c26b1ee (diff) |
mxs_nand: Update compatible string for i.MX6SX
The iMX6SX uses compatible string "fsl,imx6sx-gpmi-nand" for gpmi
node in DTS, so update the driver for the string
Signed-off-by: Ye Li <ye.li@nxp.com>
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.c | 8 |
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 7a32b284f7..7efc9684db 100644 --- a/drivers/mtd/nand/raw/mxs_nand_dt.c +++ b/drivers/mtd/nand/raw/mxs_nand_dt.c @@ -25,6 +25,10 @@ static const struct mxs_nand_dt_data mxs_nand_imx6q_data = { .max_ecc_strength_supported = 40, }; +static const struct mxs_nand_dt_data mxs_nand_imx6sx_data = { + .max_ecc_strength_supported = 62, +}; + static const struct mxs_nand_dt_data mxs_nand_imx7d_data = { .max_ecc_strength_supported = 62, }; @@ -35,6 +39,10 @@ static const struct udevice_id mxs_nand_dt_ids[] = { .data = (unsigned long)&mxs_nand_imx6q_data, }, { + .compatible = "fsl,imx6sx-gpmi-nand", + .data = (unsigned long)&mxs_nand_imx6sx_data, + }, + { .compatible = "fsl,imx7d-gpmi-nand", .data = (unsigned long)&mxs_nand_imx7d_data, }, |