diff options
author | Lucas Stach <dev@lynxeye.de> | 2014-06-03 22:34:48 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-06-04 07:21:17 +0200 |
commit | f20e3eb414f13987261b4860a90d21eb59f153bb (patch) | |
tree | 75455f7cac5d15aa04369bee8de65a34a3a0d42a /include/mci.h | |
parent | ec4b4a6406b17d9bd6955a1da29af092a7c4198e (diff) | |
download | barebox-f20e3eb414f13987261b4860a90d21eb59f153bb.tar.gz barebox-f20e3eb414f13987261b4860a90d21eb59f153bb.tar.xz |
mci: implement non-removable property
There is no need to check the card-detect status
for non-removable devices.
Signed-off-by: Lucas Stach <dev@lynxeye.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 f2c6fd1cbb..c5ab5b3fc6 100644 --- a/include/mci.h +++ b/include/mci.h @@ -302,6 +302,7 @@ struct mci_host { unsigned max_req_size; unsigned dsr_val; /**< optional dsr value */ int use_dsr; /**< optional dsr usage flag */ + bool non_removable; /**< device is non removable */ struct regulator *supply; /** init the host interface */ |