summaryrefslogtreecommitdiff
path: root/drivers/video/atmel_hlcdfb.c
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2014-05-27 08:31:05 (GMT)
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-06-14 16:07:01 (GMT)
commit5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621 (patch)
treeead18afaba4a5280e6031e14f5ca743b121e7075 /drivers/video/atmel_hlcdfb.c
parentceef983bf9b687926b274ad0eee8aae5a1812c92 (diff)
downloadu-boot-fsl-qoriq-5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621.tar.xz
net: macb: enable dcache in macb
Add to code to flush the dcache after we writing in DMA buffer. Also we need invalidate the dcache before we check the status in the DMA buffer. Tested in SAMA5D3x-EK with gmac0. Tftp download speed shows in below: Disable DCache: 1.1 MiB/s Enable DCache: 1.6 MiB/s Increase speed with about 40%. The code should have no impact with the boards which are not enable_dcache(). Tested in AT91SAM9M10G45EK. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'drivers/video/atmel_hlcdfb.c')
0 files changed, 0 insertions, 0 deletions