[U-Boot] [PATCH 19/22] mmc: Add a new callback function to check if the card is busy

Simon Glass sjg at chromium.org
Mon May 15 03:28:36 UTC 2017


On 12 May 2017 at 12:16, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> Add a new callback function *card_busy* which can be used to check if the
> card is busy. This is useful during UHS voltage switching to check if the
> switch was successful. Not all controllers may support this, so it's
> optional and when not provided the card is deemed ready.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>  drivers/mmc/mmc-uclass.c | 14 ++++++++++++++
>  drivers/mmc/mmc.c        | 10 ++++++++++
>  include/mmc.h            | 11 +++++++++++
>  3 files changed, 35 insertions(+)
>

Again please don't add to legacy code. There is enough of it already!


More information about the U-Boot mailing list