summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2018-10-12 00:41:36 -0500
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:31 +0800
commita8fbcdff1b6d9272135926b45ec71ba547fa51ad (patch)
tree339a36f8fb4e1f76d43230600d8b9640756fd9b6 /drivers/mtd
parentd3a5ef8caf3d94b2bd729861d187337b89aa04a4 (diff)
MLK-18846: mtd: gpmi-nand: miss clock define for i.MX6QP and i.MX6ULL
i.MX6QP and i.MX6ULL clock defination was missed in devdata. Signed-off-by: Han Xu <han.xu@nxp.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index f6c528895ebd..bb8d50211fb1 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -127,6 +127,8 @@ static const struct gpmi_devdata gpmi_devdata_imx6qp = {
.type = IS_MX6QP,
.bch_max_ecc_strength = 40,
.max_chain_delay = 12,
+ .clks = gpmi_clks_for_mx6,
+ .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6),
};
static const struct gpmi_devdata gpmi_devdata_imx6sx = {
@@ -161,6 +163,8 @@ static const struct gpmi_devdata gpmi_devdata_imx6ull = {
.type = IS_MX6ULL,
.bch_max_ecc_strength = 40,
.max_chain_delay = 12,
+ .clks = gpmi_clks_for_mx6,
+ .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6),
};
static const char * gpmi_clks_for_mx8qxp[GPMI_CLK_MAX] = {