commit | ff67276735ace5f7854ce6aa384966a2b154a21c | [log] [tgz] |
---|---|---|
author | Ilya Yanok <yanok@emcraft.com> | Mon Nov 28 06:37:33 2011 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Tue Dec 06 23:59:35 2011 +0100 |
tree | 2d8f3122b943d882dc07227463b5829f61376373 | |
parent | c850069b43c876627907e2ed617424a4e9e922f3 [diff] |
davinci_emac: fix for running with dcache enabled DaVinci EMAC is present on TI AM35xx SoCs (ARMv7) which run with D-Cache enabled by default. So we have to take care and flush/invalidate the cache before/after the DMA operations. Please note that the receive buffer alignment to 32 byte boundary comes from the old driver version I don't know if it is really needed or alignment to cache line size is enough. Signed-off-by: Ilya Yanok <yanok@emcraft.com>