Re: [U-Boot] [PATCH] mmc/dwmmc: use bounce buffer for data exchange between CPU and MMC controller

2013-12-25 Thread Jaehoon Chung
Hi, Alexey. I have found the build warning. Could you fix it? dw_mmc.c: In function ‘dwmci_send_cmd’: dw_mmc.c:137:10: warning: passing argument 2 of ‘bounce_buffer_start’ discards ‘const’ qualifier from pointer target type [enabled by default] u-boot-mmc/include/bouncebuf.h:64:5: note:

[U-Boot] [PATCH] mmc/dwmmc: use bounce buffer for data exchange between CPU and MMC controller

2013-12-24 Thread Alexey Brodkin
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