summaryrefslogtreecommitdiffstats
path: root/include/mci.h
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2015-09-02 08:28:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-09-04 08:21:44 +0200
commit4c100aae04711c0518f336bc4b66fce202443bc8 (patch)
treefb45633e1389f173ad7d8382454e67d23c89f1e1 /include/mci.h
parent200ba6cdeea8e023a6af94cd5aeefce4b2daf879 (diff)
downloadbarebox-4c100aae04711c0518f336bc4b66fce202443bc8.tar.gz
barebox-4c100aae04711c0518f336bc4b66fce202443bc8.tar.xz
drivers: mci: Make two functions public
There is no possibility to read/write to the extended CSD register of MMC devices from a command. To avoid duplicated driver code, two driver functions have to be public. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r--include/mci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mci.h b/include/mci.h
index c5ab5b3fc6..a7bf8cd7da 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -372,6 +372,9 @@ struct mci {
int mci_register(struct mci_host*);
void mci_of_parse(struct mci_host *host);
int mci_detect_card(struct mci_host *);
+int mci_send_ext_csd(struct mci *mci, char *ext_csd);
+int mci_switch(struct mci *mci, unsigned set, unsigned index,
+ unsigned value);
static inline int mmc_host_is_spi(struct mci_host *host)
{