commit | 6cb4c46c34b1ec82e9fc36ac2fc3ff86c5b41dc7 | [log] [tgz] |
---|---|---|
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | Wed Nov 25 17:56:32 2015 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 13 21:05:17 2016 -0500 |
tree | 7785c9d7358ccd22ddabe52489aae8a8c7035ffe | |
parent | f4d480b66378ce8de0d4b6271d1664d05f3f1edf [diff] |
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: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: Thomas Chou <thomas@wytron.com.tw>