mtd: nand: mxs_nand: add i.MX6QP compatible string
authorHan Xu <han.xu@nxp.com>
Mon, 4 May 2020 14:08:57 +0000 (22:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
add the dedicate compatible string for i.MX6QP

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mtd/nand/raw/mxs_nand_dt.c

index 7efc968..bd429e0 100644 (file)
@@ -39,6 +39,10 @@ static const struct udevice_id mxs_nand_dt_ids[] = {
                .data = (unsigned long)&mxs_nand_imx6q_data,
        },
        {
                .data = (unsigned long)&mxs_nand_imx6q_data,
        },
        {
+               .compatible = "fsl,imx6qp-gpmi-nand",
+               .data = (unsigned long)&mxs_nand_imx6q_data,
+       },
+       {
                .compatible = "fsl,imx6sx-gpmi-nand",
                .data = (unsigned long)&mxs_nand_imx6sx_data,
        },
                .compatible = "fsl,imx6sx-gpmi-nand",
                .data = (unsigned long)&mxs_nand_imx6sx_data,
        },