]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-socfpga/spl.c
arm: socfpga: config: Move SPL GD and malloc to RAM
[karo-tx-uboot.git] / arch / arm / mach-socfpga / spl.c
index 82570f86174fd8b003158102cea0a0196aa4fead..13ec24bc169ef2ffb32fe4affa58985756dee5c6 100644 (file)
@@ -178,5 +178,8 @@ 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);
+
        board_init_r(NULL, 0);
 }