Skip to content
Snippets Groups Projects
Commit b3d2861e authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Tom Rini
Browse files

spl: Remove overwrite of relocated malloc limit


spl_init on some boards is called after stack and heap relocation, on
some platforms spl_relocate_stack_gd is called to handle setting the
limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple
SPL malloc is enabled during relocation. spl_init should then not
re-assign the old pre-relocation limit when this is defined.

Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 1923d54b
No related branches found
No related tags found
Loading
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