summaryrefslogtreecommitdiffstats
path: root/include/mci.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-10-22 16:35:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-22 16:49:48 +0200
commited78b8dbbc13eb70aa80dedee146edf2cb567c5b (patch)
treed79a98f6a8ef2207133c811944834b91f3dc5b1c /include/mci.h
parentcf9b0c6927126a4f6e520a242378b5166aaa87a4 (diff)
downloadbarebox-ed78b8dbbc13eb70aa80dedee146edf2cb567c5b.tar.gz
barebox-ed78b8dbbc13eb70aa80dedee146edf2cb567c5b.tar.xz
mci: add max_req_size support
Some controller such as the ARM AMBA pl181 can not handle more than 16bits data length request. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r--include/mci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mci.h b/include/mci.h
index 1ca00c70f7..07ac2731f7 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -293,6 +293,7 @@ struct mci_host {
unsigned f_max; /**< host interface upper limit */
unsigned clock; /**< Current clock used to talk to the card */
unsigned bus_width; /**< used data bus width to the card */
+ unsigned max_req_size;
/** init the host interface */
int (*init)(struct mci_host*, struct device_d*);