]> Git Repo - u-boot.git/commit
mmc/dwmmc: use bounce buffer for data exchange between CPU and MMC controller
authorAlexey Brodkin <[email protected]>
Thu, 26 Dec 2013 11:29:07 +0000 (15:29 +0400)
committerPantelis Antoniou <[email protected]>
Thu, 9 Jan 2014 09:29:02 +0000 (11:29 +0200)
commit2a7a210e2cb724f4a941786e58878baf6edce846
tree93c6f0d3fda536d74ebb160392398a089526f98d
parentf931483e4e41b7f3d738077040385b1776f635dc
mmc/dwmmc: use bounce buffer for data exchange between CPU and MMC controller

Bounce buffer implementation takes care of proper data buffer alignemt
and correct flush/invalidation of data cache at once so we no longer
depend on input data variety and make sure CPU and MMC controller deal
with expected data in case of enabled data cache.

Bounce buffer requires to add its definition (CONFIG_BOUNCE_BUFFER) in
board configuration, otherwise corresponding library won't be compiled
and linker will fail to build resulting executable.

Difference since v1 - fixed compile-time warning with type casting to
"void *":

Slight edit to remove UTF8 characters in the commit message.

Acked-by: Jaehoon Chung <[email protected]>
Tested-by: Jaehoon Chung <[email protected]>
Acked-by: Pantelis Antoniou <[email protected]>
====
passing argument 2 of 'bounce_buffer_start' discards 'const' qualifier
from pointer target type
====

Signed-off-by: Alexey Brodkin <[email protected]>
Cc: Mischa Jonker <[email protected]>
Cc: Alim Akhtar <[email protected]>
Cc: Rajeshwari Shinde <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Amar <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Minkyu Kang <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Andy Fleming <[email protected]>
drivers/mmc/dw_mmc.c
include/configs/arndale.h
include/configs/exynos5250-dt.h
This page took 0.036588 seconds and 4 git commands to generate.