]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/configs/socfpga_common.h
arm: socfpga: config: Move SPL GD and malloc to RAM
authorMarek Vasut <marex@denx.de>
Sun, 12 Jul 2015 13:23:28 +0000 (15:23 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:09 +0000 (14:14 +0200)
commit7599b53dc1a1c89457a755858d4b6946e0e7fadd
treed1123227a547d96eb662a5fcd5a7f119bd38116d
parent6ab00db226296b9512baf00d1dc1728e599e385d
arm: socfpga: config: Move SPL GD and malloc to RAM

Now that the SPL structure is organised such that it matches the
U-Boot's SPL design, it is possible to use the option of relocating
GD to RAM. And since we have GD in RAM, move malloc area to RAM as
well. We point the malloc base pointer 1 MiB past U-Boot's load
address. We use simple malloc for SPL because it is 3kiB smaller
in terms of code size than regular malloc which was used thus far.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-socfpga/spl.c
configs/socfpga_arria5_defconfig
configs/socfpga_cyclone5_defconfig
configs/socfpga_socrates_defconfig
include/configs/socfpga_common.h