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

Marcel Ziswiler marcel.ziswiler at toradex.com
Sun Aug 30 22:28:03 CEST 2015


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/


More information about the U-Boot mailing list