Skip to content
Snippets Groups Projects
Commit ecc30663 authored by Albert ARIBAUD's avatar Albert ARIBAUD Committed by Tom Rini
Browse files

Fix board init code to respect the C runtime environment


board_init_f_mem() alters the C runtime environment's
stack it is actually already using. This is not a valid
behaviour within a C runtime environment.

Split board_init_f_mem into C functions which do not alter
their own stack and always behave properly with respect to
their C runtime environment.

Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: default avatarThomas Chou <thomas@wytron.com.tw>
parent 20d08f59
No related branches found
No related tags found
No related merge requests found
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