diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2013-12-26 15:29:07 +0400 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-01-09 11:29:02 +0200 |
commit | 2a7a210e2cb724f4a941786e58878baf6edce846 (patch) | |
tree | 93c6f0d3fda536d74ebb160392398a089526f98d /include/configs/arndale.h | |
parent | f931483e4e41b7f3d738077040385b1776f635dc (diff) | |
download | u-boot-imx-2a7a210e2cb724f4a941786e58878baf6edce846.zip u-boot-imx-2a7a210e2cb724f4a941786e58878baf6edce846.tar.gz u-boot-imx-2a7a210e2cb724f4a941786e58878baf6edce846.tar.bz2 |
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 <jh80.chung@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
====
passing argument 2 of 'bounce_buffer_start' discards 'const' qualifier
from pointer target type
====
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Mischa Jonker <mjonker@synopsys.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Amar <amarendra.xt@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Andy Fleming <afleming@gmail.com>
Diffstat (limited to 'include/configs/arndale.h')
-rw-r--r-- | include/configs/arndale.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/arndale.h b/include/configs/arndale.h index a3cb56b..3d29caf 100644 --- a/include/configs/arndale.h +++ b/include/configs/arndale.h @@ -85,6 +85,7 @@ #define CONFIG_DWMMC #define CONFIG_EXYNOS_DWMMC #define CONFIG_SUPPORT_EMMC_BOOT +#define CONFIG_BOUNCE_BUFFER #define CONFIG_BOARD_EARLY_INIT_F |