]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:22 +0000 (08:17 +0200)
commit45ca881656b4194540bb945f05cb455258f78b07
tree41af0b5f49e20a974b4e95a8965ad31bde0740b7
parentc64f4419b06138a0c9c9137f46b43cc7ee448e71
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