diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2021-05-31 08:31:49 +0900 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2021-06-22 12:03:11 +0800 |
commit | 2da2335a18a1b7123da08c325fdcd7960c0f0642 (patch) | |
tree | 0d14b64da962d4cb546017ab632a83255958e580 /drivers/mmc | |
parent | 5c2beda545dde4d27c0e893e97c74740ff27ff2f (diff) | |
download | u-boot-2da2335a18a1b7123da08c325fdcd7960c0f0642.zip u-boot-2da2335a18a1b7123da08c325fdcd7960c0f0642.tar.gz u-boot-2da2335a18a1b7123da08c325fdcd7960c0f0642.tar.bz2 |
mmc: fsl_esdhc_imx: use mmc_send_cmd instead of dm_mmc_send_cmd
Use mmc_send_cmd instead of dm_mmc_send_cmd.
It doesn't need to distinguish this function.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/fsl_esdhc_imx.c | 2 | ||||
-rw-r--r-- | drivers/mmc/mmc_private.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 566ce046..40c797c 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -865,7 +865,7 @@ static void esdhc_stop_tuning(struct mmc *mmc) cmd.cmdarg = 0; cmd.resp_type = MMC_RSP_R1b; - dm_mmc_send_cmd(mmc->dev, &cmd, NULL); + mmc_send_cmd(mmc, &cmd, NULL); } static int fsl_esdhc_execute_tuning(struct udevice *dev, uint32_t opcode) diff --git a/drivers/mmc/mmc_private.h b/drivers/mmc/mmc_private.h index a0900e8..a6cd250 100644 --- a/drivers/mmc/mmc_private.h +++ b/drivers/mmc/mmc_private.h @@ -12,7 +12,6 @@ #include <mmc.h> -int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data); int mmc_send_status(struct mmc *mmc, unsigned int *status); int mmc_poll_for_busy(struct mmc *mmc, int timeout); |