diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2015-11-25 19:56:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-14 05:05:17 +0300 |
commit | ecc306639e83c9019a5093b77a48685ea40eedc2 (patch) | |
tree | 7785c9d7358ccd22ddabe52489aae8a8c7035ffe /common/spl/spl_mmc.c | |
parent | 20d08f59fa7cdde0da1eb7aca7915c91dbdeaf51 (diff) | |
download | u-boot-ecc306639e83c9019a5093b77a48685ea40eedc2.tar.xz |
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>
Diffstat (limited to 'common/spl/spl_mmc.c')
0 files changed, 0 insertions, 0 deletions