diff options
| author | Julien Masson <[email protected]> | 2021-11-05 14:34:14 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-17 17:04:59 -0500 |
| commit | faf5d4d53d435bb4e15768cc135b6268b5104bbc (patch) | |
| tree | 805e543b2e15f06cb5ccd27ea68e5dc08624efd8 /boot | |
| parent | 55de0c19314046e886897fb9bb57eb5ef586814c (diff) | |
mmc: mtk-sd: implement waiting for DAT0 line state
With the recent changes on mmc driver, we saw that the boot is ~5 secs
longer compared to v2021.07 on mediatek platforms.
This regression is seen during mmc_init and caused by the following
patch [1].
Indeed since we did not support poll dat0, we fulfilled the condition
of [1] and a delay of 500 ms was added for every __mmc_switch call.
By adding the support of wait_dat0(), we now don't need to mdelay
during mmc_init anymore.
[1]: https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Signed-off-by: Julien Masson <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'boot')
0 files changed, 0 insertions, 0 deletions
