Re: [U-Boot] [PATCH v3 1/2] arm: move C runtime setup code in crt0.S

2012-11-15 Thread Albert ARIBAUD
Hi Simon, On Thu, 15 Nov 2012 11:35:27 -0800, Simon Glass wrote: > Hi Albert, > > On Sat, Nov 10, 2012 at 9:00 AM, Albert ARIBAUD > wrote: > > Move all the C runtime setup code from every start.S > > in arch/arm into arch/arm/lib/crt0.S. This covers > > the code sequence from isetting up the i

Re: [U-Boot] [PATCH v3 1/2] arm: move C runtime setup code in crt0.S

2012-11-15 Thread Simon Glass
Hi Albert, On Sat, Nov 10, 2012 at 9:00 AM, Albert ARIBAUD wrote: > Move all the C runtime setup code from every start.S > in arch/arm into arch/arm/lib/crt0.S. This covers > the code sequence from isetting up the initial stack > to calling into board_init_r(). > > Also, rewrite the C runtime set

[U-Boot] [PATCH v3 1/2] arm: move C runtime setup code in crt0.S

2012-11-10 Thread Albert ARIBAUD
Move all the C runtime setup code from every start.S in arch/arm into arch/arm/lib/crt0.S. This covers the code sequence from isetting up the initial stack to calling into board_init_r(). Also, rewrite the C runtime setup and make functions board_init_*() and relocate_code() behave according to no