Albert ARIBAUD e05e5de7fa arm: move C runtime setup code in crt0.S
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 setting 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
normal C semantics (no jumping across the C stack any
more, etc).

Some SPL targets had to be touched because they use
start.S explicitly or for some reason; the relevant
maintainers and custodians are cc:ed.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
2013-01-08 22:14:50 +01:00
..
2012-12-06 13:56:38 -07:00
2012-05-25 09:15:10 +02:00
2012-11-04 11:00:36 -07:00
2012-05-15 08:31:37 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2011-01-18 23:38:08 +01:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2010-11-28 21:58:29 +01:00
2011-07-28 17:22:53 +02:00
2010-04-21 23:42:38 +02:00
2010-09-19 19:29:47 +02:00
2012-03-29 08:12:47 +02:00
2012-09-29 07:26:08 -07:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2012-04-29 14:14:08 +02:00
2010-11-28 21:56:39 +01:00
2012-07-07 14:07:32 +02:00
2010-04-13 09:13:04 +02:00
2012-04-10 23:35:32 +02:00