Re: [U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-02-02 Thread Andre Przywara
Hi Lokesh, thanks for having a look! On 02/02/17 05:35, Lokesh Vutla wrote: > > > On 2/2/2017 5:18 AM, André Przywara wrote: >> On 27/01/17 16:39, Andrew F. Davis wrote: >> >> Hi, >> >>> spl_init on some boards is called after stack and heap relocation, on >>> some platforms spl_relocate_stack_

Re: [U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-02-01 Thread Lokesh Vutla
On 2/2/2017 5:18 AM, André Przywara wrote: > On 27/01/17 16:39, Andrew F. Davis wrote: > > Hi, > >> spl_init on some boards is called after stack and heap relocation, on >> some platforms spl_relocate_stack_gd is called to handle setting the >> limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPL

Re: [U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-02-01 Thread André Przywara
On 02/02/17 00:08, Tom Rini wrote: Hi Tom, thanks for the quick reply! > On Wed, Feb 01, 2017 at 11:48:11PM +, André Przywara wrote: >> On 27/01/17 16:39, Andrew F. Davis wrote: >> >> Hi, >> >>> spl_init on some boards is called after stack and heap relocation, on >>> some platforms spl_relo

Re: [U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-02-01 Thread Tom Rini
On Wed, Feb 01, 2017 at 11:48:11PM +, André Przywara wrote: > On 27/01/17 16:39, Andrew F. Davis wrote: > > Hi, > > > spl_init on some boards is called after stack and heap relocation, on > > some platforms spl_relocate_stack_gd is called to handle setting the > > limit to its value CONFIG_SP

Re: [U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-02-01 Thread André Przywara
On 27/01/17 16:39, Andrew F. Davis wrote: Hi, > spl_init on some boards is called after stack and heap relocation, on > some platforms spl_relocate_stack_gd is called to handle setting the > limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple > SPL malloc is enabled during relocat

Re: [U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-01-27 Thread Tom Rini
On Fri, Jan 27, 2017 at 10:39:19AM -0600, Andrew F. Davis wrote: > spl_init on some boards is called after stack and heap relocation, on > some platforms spl_relocate_stack_gd is called to handle setting the > limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple > SPL malloc is enab

[U-Boot] [PATCH v4 2/3] spl: Remove overwrite of relocated malloc limit

2017-01-27 Thread Andrew F. Davis
spl_init on some boards is called after stack and heap relocation, on some platforms spl_relocate_stack_gd is called to handle setting the limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple SPL malloc is enabled during relocation. spl_init should then not re-assign the old pre-relo