| 61752898 | 15-Aug-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
drivers: mmc: Add missing response type for some commands
Add missing response type for SWITCH command and STOP_TRANSMISSION so that controller can be configured accordingly.
[bod: ported this chan
drivers: mmc: Add missing response type for some commands
Add missing response type for SWITCH command and STOP_TRANSMISSION so that controller can be configured accordingly.
[bod: ported this change from Jun's eMMC patches to the MMC driver]
Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|
| bd4e3dee | 04-Aug-2018 |
Haojian Zhuang <haojian.zhuang@linaro.org> |
drivers/mmc: set buswidth and speed before reading data
It should set buswidth and speed of mmc controller before accessing mmc.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Haoji
drivers/mmc: set buswidth and speed before reading data
It should set buswidth and speed of mmc controller before accessing mmc.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
show more ...
|
| 07858dd8 | 02-Aug-2018 |
Haojian Zhuang <haojian.zhuang@linaro.org> |
drivers/mmc: make mmc_ext_csd aligned with 16 char
DMA is always used in mmc driver. So the buffer address should always follow the DMA limitation.
There're same requirement in mmc_read_blocks()/mm
drivers/mmc: make mmc_ext_csd aligned with 16 char
DMA is always used in mmc driver. So the buffer address should always follow the DMA limitation.
There're same requirement in mmc_read_blocks()/mmc_write_blocks() on parameter buf. Since parameter buf comes from io_block driver, it's already handled in io_block driver.
At here, just make the minimum address alignment on 16 chars.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
show more ...
|
| ea315a69 | 02-Aug-2018 |
Haojian Zhuang <haojian.zhuang@linaro.org> |
drivers/mmc: fix lba param to int
mmc_read_blocks()/mmc_write_blocks() derived from io_block_ops_t type. It means that lba param should be integer type, not unsigned integer type.
Signed-off-by: Ha
drivers/mmc: fix lba param to int
mmc_read_blocks()/mmc_write_blocks() derived from io_block_ops_t type. It means that lba param should be integer type, not unsigned integer type.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
show more ...
|