Searched hist:"37911 cf692cce29e3f96fb66eeee9675405e47a7" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | rockchip_sfc.c | 37911cf692cce29e3f96fb66eeee9675405e47a7 Mon Jan 29 06:43:51 UTC 2018 Andy Yan <andy.yan@rock-chips.com> spi: rockchip sfc: use bounce buffer to deal with data transfer between cpu and sfc in dma mode
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 SFC 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.
Change-Id: Idbd0499d7ce2baa9cbbb04ade97ddb5bf49952ac Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
|