diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-09-20 17:50:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-09-26 08:53:08 +0200 |
commit | b5289b742a890a31e8b3fc1706774514dcbe1238 (patch) | |
tree | 71c27c6681610ca3b9da8be4725cd6e5610b3284 /include/mci.h | |
parent | 25e67cbb2fce8690bcde07598ad4998aad475f13 (diff) | |
download | barebox-b5289b742a890a31e8b3fc1706774514dcbe1238.tar.gz barebox-b5289b742a890a31e8b3fc1706774514dcbe1238.tar.xz |
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 <p.zabel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r-- | include/mci.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |