diff options
author | Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> | 2018-08-13 09:33:46 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-08-13 15:29:54 +0200 |
commit | 20905f5fa60bffc5c929e573b93b4d9b9855cc61 (patch) | |
tree | eb9933bc44ff41c61b984f516ae20a954cefcc53 /arch/arm/mach-socfpga/spl_gen5.c | |
parent | 40c36f8d4926c6ca3e84f184bc67a498a4983324 (diff) |
arm: socfpga: spl_gen5: clean up malloc_base assignment
In spl_gen5's board_init_f(), gd->malloc_base is manually assigned
at the end of the function to point to sdram. This code is outdated
as by now, the heap is switched to sdram by the common function
spl_relocate_stack_gd() if the appropriate defines are set.
As it was, the value assigned manually was directly overwritten by
this common code, so remove the manual assignment.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'arch/arm/mach-socfpga/spl_gen5.c')
-rw-r--r-- | arch/arm/mach-socfpga/spl_gen5.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-socfpga/spl_gen5.c b/arch/arm/mach-socfpga/spl_gen5.c index 9bdfaa3c1e..0d5526656d 100644 --- a/arch/arm/mach-socfpga/spl_gen5.c +++ b/arch/arm/mach-socfpga/spl_gen5.c @@ -184,7 +184,4 @@ void board_init_f(ulong dummy) } socfpga_bridges_reset(1); - - /* Configure simple malloc base pointer into RAM. */ - gd->malloc_base = CONFIG_SYS_TEXT_BASE + (1024 * 1024); } |