[PATCH 1/4] mci: add a busy_timeout member to the struct mci_cmd
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Nov 6 05:57:31 PST 2024
On 31.10.24 10:27, Sebastien Bourdelin wrote:
> From: Sebastien Bourdelin <sebastien.bourdelin at rtone.fr>
>
> This commit extends the struct mci_cmd to add a new busy_timeout member.
>
> Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin at rtone.fr>
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> include/mci.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/mci.h b/include/mci.h
> index cd01e2f992..f607ef1b74 100644
> --- a/include/mci.h
> +++ b/include/mci.h
> @@ -471,6 +471,7 @@ struct mci_cmd {
> unsigned cmdidx; /**< Command to be sent to the SD/MMC card */
> unsigned resp_type; /**< Type of expected response, refer MMC_RSP_* macros */
> unsigned cmdarg; /**< Command's arguments */
> + unsigned busy_timeout; /**< Busy timeout in ms */
> unsigned response[4]; /**< card's response */
> };
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list