diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-09 11:50:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-09 14:35:20 +0100 |
commit | b795a7320b98f9a77a6208368189324445c06686 (patch) | |
tree | 68db956dde4fe3648aaaab72e0f44ba0b265b19d /include | |
parent | 15c9965457b770b26cad1f843ef1324b894943d3 (diff) | |
download | barebox-b795a7320b98f9a77a6208368189324445c06686.tar.gz barebox-b795a7320b98f9a77a6208368189324445c06686.tar.xz |
mci: Fix 8 bit mmc cards
Currently we test the cards capabilities for being 8bit capable.
This does not work since noone ever sets this bit. Unfortunately
there is no bit to test 8bit capability, so we introduce a patch
from the kernel which puts the mmc card into 8bit mode and tests
whether it can succesfully read the ext_csd in this mode.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-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 7e3b459d1e..97036c35b9 100644 --- a/include/mci.h +++ b/include/mci.h @@ -326,6 +326,7 @@ struct mci { unsigned write_bl_len; uint64_t capacity; /**< Card's data capacity in bytes */ int ready_for_use; /** true if already probed */ + char *ext_csd; }; int mci_register(struct mci_host*); |