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 albert.u.b...@aribaud.net 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,

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 s...@chromium.org wrote: Hi Albert, On Sat, Nov 10, 2012 at 9:00 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Move all the C runtime setup code from every start.S in arch/arm into arch/arm/lib/crt0.S. This covers the

[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