diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-10-22 16:35:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-10-22 16:49:48 +0200 |
commit | ed78b8dbbc13eb70aa80dedee146edf2cb567c5b (patch) | |
tree | d79a98f6a8ef2207133c811944834b91f3dc5b1c /include/mci.h | |
parent | cf9b0c6927126a4f6e520a242378b5166aaa87a4 (diff) | |
download | barebox-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.h | 1 |
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*); |