Merge branch 'master' of git://git.denx.de/u-boot-socfpga
This commit is contained in:
@@ -489,9 +489,6 @@ ulong spl_relocate_stack_gd(void)
|
||||
|
||||
#ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE
|
||||
if (CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN) {
|
||||
if (!(gd->flags & GD_FLG_SPL_INIT))
|
||||
panic_str("spl_init must be called before heap reloc");
|
||||
|
||||
ptr -= CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN;
|
||||
gd->malloc_base = ptr;
|
||||
gd->malloc_limit = CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN;
|
||||
|
||||
Reference in New Issue
Block a user