[PATCH v2 1/4] mci: add a busy_timeout member to the struct mci_cmd
Sebastien Bourdelin
sebastien.bourdelin at gmail.com
Wed Nov 6 07:25:22 PST 2024
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>
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin at gmail.com>
---
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 */
};
--
2.47.0
More information about the barebox
mailing list