[U-Boot] [PATCH] Move malloc_cache_aligned() to malloc.h
Simon Glass
sjg at chromium.org
Wed Sep 2 04:49:07 CEST 2015
Hi Scott,
On 30 August 2015 at 14:30, Scott Wood <scottwood at freescale.com> wrote:
> 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?
Yes I like that idea, it seems like the best solution.
Regards,
Simon
More information about the U-Boot
mailing list