Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-04-09 Thread Simon Glass
Hi Tom, On 20 March 2017 at 08:27, Tom Rini wrote: > On Mon, Mar 20, 2017 at 10:58:57AM +0530, Lokesh Vutla wrote: >> Hi Simon, >> >> On Wednesday 15 March 2017 08:13 PM, Simon Glass wrote: >> > From: Eddie Cai >> > >> > At present malloc_base/_limit/_ptr are not initialised in spl_init() when >

Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-20 Thread Tom Rini
On Mon, Mar 20, 2017 at 10:58:57AM +0530, Lokesh Vutla wrote: > Hi Simon, > > On Wednesday 15 March 2017 08:13 PM, Simon Glass wrote: > > From: Eddie Cai > > > > At present malloc_base/_limit/_ptr are not initialised in spl_init() when > > we call spl_init() in board_init_f(). This is due to a r

Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-19 Thread Lokesh Vutla
Hi Simon, On Wednesday 15 March 2017 08:13 PM, Simon Glass wrote: > From: Eddie Cai > > At present malloc_base/_limit/_ptr are not initialised in spl_init() when > we call spl_init() in board_init_f(). This is due to a recent change aimed > at avoiding overwriting the malloc area set up on some

Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-17 Thread Tom Rini
On Wed, Mar 15, 2017 at 08:43:28AM -0600, Simon Glass wrote: > From: Eddie Cai > > At present malloc_base/_limit/_ptr are not initialised in spl_init() when > we call spl_init() in board_init_f(). This is due to a recent change aimed > at avoiding overwriting the malloc area set up on some board

Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-16 Thread Simon Glass
On 16 March 2017 at 09:02, Eddie Cai wrote: > > > 2017-03-15 22:43 GMT+08:00 Simon Glass : >> >> From: Eddie Cai >> >> At present malloc_base/_limit/_ptr are not initialised in spl_init() when >> we call spl_init() in board_init_f(). This is due to a recent change aimed >> at avoiding overwriting

Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-16 Thread Eddie Cai
2017-03-15 22:43 GMT+08:00 Simon Glass : > From: Eddie Cai > > At present malloc_base/_limit/_ptr are not initialised in spl_init() when > we call spl_init() in board_init_f(). This is due to a recent change aimed > at avoiding overwriting the malloc area set up on some boards by > spl_relocate_s

[U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-15 Thread Simon Glass
From: Eddie Cai At present malloc_base/_limit/_ptr are not initialised in spl_init() when we call spl_init() in board_init_f(). This is due to a recent change aimed at avoiding overwriting the malloc area set up on some boards by spl_relocate_stack_gd(). However if CONFIG_SPL_STACK_R_MALLOC_SIMP