diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-07-10 09:35:28 +0000 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2019-07-15 10:30:09 +0800 |
commit | 609ba125c50545424ea946cd034069bec96b5da9 (patch) | |
tree | 06b825b085231514808e08a9b373f6715e7b480c | |
parent | e9c22552675ec90258da1b60819baf5bea36f1c1 (diff) | |
download | u-boot-609ba125c50545424ea946cd034069bec96b5da9.zip u-boot-609ba125c50545424ea946cd034069bec96b5da9.tar.gz u-boot-609ba125c50545424ea946cd034069bec96b5da9.tar.bz2 |
mmc: fsl_esdhc_imx: add i.MX8QM compatible
Add i.MX8QM compatible and soc data, the soc data is following Linux
i.MX SDHC driver.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | drivers/mmc/fsl_esdhc_imx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 51d2225..2152d8a 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -1630,6 +1630,12 @@ static struct esdhc_soc_data usdhc_imx7d_data = { | ESDHC_FLAG_HS400, }; +static struct esdhc_soc_data usdhc_imx8qm_data = { + .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING | + ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 | + ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES, +}; + static const struct udevice_id fsl_esdhc_ids[] = { { .compatible = "fsl,imx53-esdhc", }, { .compatible = "fsl,imx6ul-usdhc", }, @@ -1638,6 +1644,7 @@ static const struct udevice_id fsl_esdhc_ids[] = { { .compatible = "fsl,imx6q-usdhc", }, { .compatible = "fsl,imx7d-usdhc", .data = (ulong)&usdhc_imx7d_data,}, { .compatible = "fsl,imx7ulp-usdhc", }, + { .compatible = "fsl,imx8qm-usdhc", .data = (ulong)&usdhc_imx8qm_data,}, { .compatible = "fsl,esdhc", }, { /* sentinel */ } }; |