From b5289b742a890a31e8b3fc1706774514dcbe1238 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Wed, 20 Sep 2017 17:50:44 +0200 Subject: mmc: allow skipping SD card initialization This patch allows to skip SD card initialization for eMMCs by setting the "no-sd" property in the host controller device tree node. Avoiding two SD command timeouts speeds up detection time by well over 200 ms. Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- include/mci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mci.h') diff --git a/include/mci.h b/include/mci.h index d3115e8cc6..1f6533391a 100644 --- a/include/mci.h +++ b/include/mci.h @@ -403,6 +403,7 @@ struct mci_host { unsigned dsr_val; /**< optional dsr value */ int use_dsr; /**< optional dsr usage flag */ bool non_removable; /**< device is non removable */ + bool no_sd; /**< do not send SD commands during initialization */ struct regulator *supply; /** init the host interface */ -- cgit v1.2.3