]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: atmel_hlcdfb: enable dcache support
authorWu, Josh <Josh.wu@atmel.com>
Mon, 19 May 2014 11:51:27 +0000 (19:51 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sat, 14 Jun 2014 16:07:02 +0000 (18:07 +0200)
commitb137bd8c8d75062719c2fe2880205f8b707a89a8
tree540a04b9550554e99cd3aee75d32cd7a74fe5663
parent5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621
video: atmel_hlcdfb: enable dcache support

To support dcache, we need flush DMA descriptor buffer before enable lcd
DMA.

Also we need call lcd_set_flush_dcache(1) to make lcd driver flush the
lcd buffer if there is any change.

Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/video/atmel_hlcdfb.c