Searched hist:"2 aa8720257beadde8f798bd30096ca4c9007c8e0" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | davinci_emac.h | 2aa8720257beadde8f798bd30096ca4c9007c8e0 Mon Nov 28 06:37:33 UTC 2011 Ilya Yanok <yanok@emcraft.com> 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>
|
| H A D | davinci_emac.c | 2aa8720257beadde8f798bd30096ca4c9007c8e0 Mon Nov 28 06:37:33 UTC 2011 Ilya Yanok <yanok@emcraft.com> 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>
|