Hi Faiz, On Tue, Sep 19, 2017 at 7:23 PM, Faiz Abbas <faiz_ab...@ti.com> wrote: > The size variable may not be always be a mulitple of > ARCH_DMA_MINALIGN and using it to flush cache leads to cache > misaligned warnings. > > Therefore, round up the size to a multiple of ARCH_DMA_MINLAIGN > when allocating private data. > > Signed-off-by: Faiz Abbas <faiz_ab...@ti.com> > --- > drivers/core/device.c | 1 + > 1 file changed, 1 insertion(+) >
Isn't DM_FLAG_ALLOC_PRIV_DMA sufficient? Regards, Bin _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot