[U-Boot] [PATCH] Move malloc_cache_aligned() to malloc.h

Scott Wood scottwood at freescale.com
Sun Aug 30 22:30:15 CEST 2015


On Sun, 2015-08-30 at 20:28 +0000, Marcel Ziswiler wrote:
> On Sat, 2015-08-29 at 14:54 +0000, Simon Glass wrote:
> > At present malloc.h is included everywhere since it recently was
> > added to
> > common.h in this commit:
> > 
> >    4519668 mtd/nand/ubi: assortment of alignment fixes
> > 
> > This seems wasteful and unnecessary. We have been trying to trim down
> > common.h and put separate functions into separate header files and
> > that
> > change goes in the opposite direction.
> > 
> > Move malloc_cache_aligned() to malloc.h so that this can be avoided.
> 
> Hm, but we've been there before:
> 
> https://patchwork.ozlabs.org/patch/503291/

Maybe all the cache alignment stuff could go in its own header?

-Scott



More information about the U-Boot mailing list