summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2014-05-27 16:31:05 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-06-14 18:07:01 +0200
commit5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621 (patch)
treeead18afaba4a5280e6031e14f5ca743b121e7075 /drivers/video
parentceef983bf9b687926b274ad0eee8aae5a1812c92 (diff)
downloadu-boot-imx-5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621.zip
u-boot-imx-5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621.tar.gz
u-boot-imx-5ae0e38278ad3becfc9a0a6bfc5ab8c531ccd621.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions