Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Tom Rini
On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18, 2014 at 05:21:21PM -0700, Simon Glass wrote: This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Simon Glass
Hi Tom, On 21 December 2014 at 05:30, Tom Rini tr...@ti.com wrote: On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18, 2014 at 05:21:21PM -0700, Simon Glass wrote: This is an attempt to

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Tom Rini
On Sun, Dec 21, 2014 at 11:53:21AM -0700, Simon Glass wrote: Hi Tom, On 21 December 2014 at 05:30, Tom Rini tr...@ti.com wrote: On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18,

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-21 Thread Simon Glass
Hi Tom, On 21 December 2014 at 12:29, Tom Rini tr...@ti.com wrote: On Sun, Dec 21, 2014 at 11:53:21AM -0700, Simon Glass wrote: Hi Tom, On 21 December 2014 at 05:30, Tom Rini tr...@ti.com wrote: On Fri, Dec 19, 2014 at 08:32:35AM -0700, Simon Glass wrote: Hi Tom, Albert, On 19

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-19 Thread Albert ARIBAUD
Hello Simon, On Thu, 18 Dec 2014 11:26:12 -0700, Simon Glass s...@chromium.org wrote: This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver model in SPL: - Avoid setting up SDRAM before board_init_f() - Avoid touching global_data before board_init_f() By

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-19 Thread Tom Rini
On Thu, Dec 18, 2014 at 05:21:21PM -0700, Simon Glass wrote: This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver model in SPL: - Avoid setting up SDRAM before board_init_f() - Avoid touching global_data before board_init_f() - Allow board_init_f() to

Re: [U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-19 Thread Simon Glass
Hi Tom, Albert, On 19 December 2014 at 07:40, Tom Rini tr...@ti.com wrote: On Thu, Dec 18, 2014 at 05:21:21PM -0700, Simon Glass wrote: This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver model in SPL: - Avoid setting up SDRAM before board_init_f() -

[U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-18 Thread Simon Glass
This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver model in SPL: - Avoid setting up SDRAM before board_init_f() - Avoid touching global_data before board_init_f() - Allow board_init_f() to set up a new stack (seems that the SRAM stack is not large enough on

[U-Boot] [PATCH] RFC: am35xx: Rearrange SPL on am35xx

2014-12-18 Thread Simon Glass
This is an attempt to tidy up the early SPL code in an attempt to pave the way for driver model in SPL: - Avoid setting up SDRAM before board_init_f() - Avoid touching global_data before board_init_f() - Allow board_init_f() to set up a new stack (seems that the SRAM stack is not large enough on