Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 11:45 AM Marek Vasut wrote: > > On 3/1/19 11:37 AM, Simon Goldschmidt wrote: > > On Fri, Mar 1, 2019 at 11:30 AM Marek Vasut wrote: > >> > >> On 2/26/19 10:27 PM, Simon Goldschmidt wrote: > >>> To find out how big the early malloc heap must be in SPL, add a debug > >>> prin

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Marek Vasut
On 3/1/19 11:37 AM, Simon Goldschmidt wrote: > On Fri, Mar 1, 2019 at 11:30 AM Marek Vasut wrote: >> >> On 2/26/19 10:27 PM, Simon Goldschmidt wrote: >>> To find out how big the early malloc heap must be in SPL, add a debug >>> print statement that dumps its usage before switching to relocated hea

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Simon Goldschmidt
On Fri, Mar 1, 2019 at 11:30 AM Marek Vasut wrote: > > On 2/26/19 10:27 PM, Simon Goldschmidt wrote: > > To find out how big the early malloc heap must be in SPL, add a debug > > print statement that dumps its usage before switching to relocated heap > > in spl_relocate_stack_gd() via CONFIG_SPL_S

Re: [U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-03-01 Thread Marek Vasut
On 2/26/19 10:27 PM, Simon Goldschmidt wrote: > To find out how big the early malloc heap must be in SPL, add a debug > print statement that dumps its usage before switching to relocated heap > in spl_relocate_stack_gd() via CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN. > > Signed-off-by: Simon Goldschmid

[U-Boot] [PATCH] spl: add debug print for early malloc usage

2019-02-26 Thread Simon Goldschmidt
To find out how big the early malloc heap must be in SPL, add a debug print statement that dumps its usage before switching to relocated heap in spl_relocate_stack_gd() via CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN. Signed-off-by: Simon Goldschmidt --- common/spl/spl.c | 2 ++ 1 file changed, 2 inse