Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-25 Thread Graeme Russ
Hi Tomas, On Fri, Oct 26, 2012 at 6:16 AM, Tomas Hlavacek wrote: > Hello Graeme, > > On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote: > >>> diff --git a/arch/arm/include/asm/global_data.h >>> b/arch/arm/include/asm/global_data.h >>> index 2b9af93..9045829 100644 >>> --- a/arch/arm/include/as

Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-25 Thread Tomas Hlavacek
Hello Graeme, On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote: >> diff --git a/arch/arm/include/asm/global_data.h >> b/arch/arm/include/asm/global_data.h >> index 2b9af93..9045829 100644 >> --- a/arch/arm/include/asm/global_data.h >> +++ b/arch/arm/include/asm/global_data.h >> @@ -82,6 +82,9

Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-24 Thread Graeme Russ
Hi Tomas, Overall impression - Very nice indeed :) A couple of nit-picks (some of which may be wrong on my part) and one lingering question around the switch over from early to late heap... On Thu, Oct 25, 2012 at 10:49 AM, Tomas Hlavacek wrote: > Add pointer to the first early heap into GD str

[U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-24 Thread Tomas Hlavacek
Add pointer to the first early heap into GD structure. Implement simple early_malloc and early_free functions. Prepare for additional heaps and automated heap initialization. Add temporary early_malloc_active function (to be replaced in future by more coarse DM init flags). Add DM specific malloc c