]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: Add support for wait_dat0 callback
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 26 May 2022 14:37:21 +0000 (16:37 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 15 Jun 2022 06:39:56 +0000 (15:39 +0900)
commit1526464c3466a712d3766a74cf11047ed35a2d77
tree838b7cfc31fed81c09e4c65ab8d0c5cf6fa10d5c
parent463374521222dadd370f8f7e3d12e6d133f0f586
mmc: Add support for wait_dat0 callback

There is no wait_dat0 mmc ops, causing operations waiting for data
line state change (e.g mmc_switch_voltage) to fallback to a 250ms
active delay. mmc_ops still used when DM_MMC is not enabled, which
is often the case for SPL. The result can be unexpectly long SPL
boot time.

This change adds support for wait_dat0() mmc operation.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c
include/mmc.h