Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 12:30:59PM -0700, Simon Glass wrote: > Hi Tom, > > On 2 February 2015 at 11:57, Tom Rini wrote: > > On Mon, Feb 02, 2015 at 11:16:16AM -0700, Simon Glass wrote: > >> Hi Albert, > >> > >> On 31 January 2015 at 15:36, Albert ARIBAUD > >> wrote: > >> > Hello Simon, > >> > >

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Simon Glass
Hi Tom, On 2 February 2015 at 11:57, Tom Rini wrote: > On Mon, Feb 02, 2015 at 11:16:16AM -0700, Simon Glass wrote: >> Hi Albert, >> >> On 31 January 2015 at 15:36, Albert ARIBAUD >> wrote: >> > Hello Simon, >> > >> > On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass >> > wrote: >> >> At present

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 11:16:16AM -0700, Simon Glass wrote: > Hi Albert, > > On 31 January 2015 at 15:36, Albert ARIBAUD wrote: > > Hello Simon, > > > > On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass > > wrote: > >> At present SPL uses a single stack, either CONFIG_SPL_STACK or > >> CONFIG_SYS

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Simon Glass
Hi Albert, On 31 January 2015 at 15:36, Albert ARIBAUD wrote: > Hello Simon, > > On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass > wrote: >> At present SPL uses a single stack, either CONFIG_SPL_STACK or >> CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and >> environment) require

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-01 Thread Albert ARIBAUD
Hello Simon, On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass wrote: > At present SPL uses a single stack, either CONFIG_SPL_STACK or > CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and > environment) require a lot of stack, some boards set CONFIG_SPL_STACK to > point into SDRAM. T

[U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-01-26 Thread Simon Glass
At present SPL uses a single stack, either CONFIG_SPL_STACK or CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and environment) require a lot of stack, some boards set CONFIG_SPL_STACK to point into SDRAM. They then set up SDRAM very early, before board_init_f(), so that the larger st