Skip to content
Snippets Groups Projects
Commit e05e5de7 authored by Albert ARIBAUD's avatar Albert ARIBAUD
Browse files

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: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
parent 7528cf5f
No related branches found
No related tags found
No related merge requests found
Showing
with 321 additions and 677 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment