diff options
author | Trent Piepho <tpiepho@kymetacorp.com> | 2015-11-18 21:11:49 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-19 08:52:10 +0100 |
commit | 5537d653d2a7d742f29ba31a9c9932bbbe3e6774 (patch) | |
tree | 3c5bf849d24a245fe76ecb5c685886053feebee1 /include | |
parent | e11f5908d73540005e1aca804c167dbbeb61a6a8 (diff) | |
download | barebox-5537d653d2a7d742f29ba31a9c9932bbbe3e6774.tar.gz barebox-5537d653d2a7d742f29ba31a9c9932bbbe3e6774.tar.xz |
mci: dw_mmc: socfpga: Supply bus-width in platform_data
Since there is no OF support in the xloader on socfpga it uses the
platform_data system. There needs to be a way to supply the
equivalent of the DT property bus-width this way to support devices
that need to use a smaller bus.
So that we don't need to put every flag that might get added to the
MMC_CAP list into platform_data, just put the bus width ones into
platform_data.
The socfpga dts sources specify a bus-width of 4 so use that in the
platform_data for socfpga.
Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/platform_data/dw_mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform_data/dw_mmc.h b/include/platform_data/dw_mmc.h index 48faa76c63..ce1b3392f1 100644 --- a/include/platform_data/dw_mmc.h +++ b/include/platform_data/dw_mmc.h @@ -3,6 +3,7 @@ struct dw_mmc_platform_data { char *devname; + unsigned int bus_width_caps; int ciu_div; }; |