[U-Boot] [PATCH 05/13] davinci_emac: fix for running with dcache enabled

Andy Fleming afleming at gmail.com
Fri Nov 11 23:11:38 CET 2011


On Thu, Nov 10, 2011 at 6:39 PM, Ilya Yanok <yanok at emcraft.com> wrote:
> 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 at emcraft.com>


I don't understand. Didn't you just submit a patch to disable dcache
on all boards with EMAC?


More information about the U-Boot mailing list