diff options
author | Dinh Nguyen <dinguyen@opensource.altera.com> | 2015-03-30 17:01:13 -0500 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-21 12:23:17 +0200 |
commit | 18ad2de4b289a413ba44d3e508cf6c6d483cdc6b (patch) | |
tree | d85a1eec2a8504bde193a738bacc547ed4f11667 /include/configs | |
parent | a717b811ff2eb37ed9844d1ce00b3d7c07780f2c (diff) | |
download | u-boot-imx-18ad2de4b289a413ba44d3e508cf6c6d483cdc6b.zip u-boot-imx-18ad2de4b289a413ba44d3e508cf6c6d483cdc6b.tar.gz u-boot-imx-18ad2de4b289a413ba44d3e508cf6c6d483cdc6b.tar.bz2 |
arm: socfpga: spl: Adjust the SYS_INIT_RAM_SIZE to have room for the spl malloc
We need to adjust the SYS_INIT_RAM_SIZE to have room for the
SPL_MALLOC_SIZE.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/socfpga_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 1111c16..41bb52b 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -40,7 +40,7 @@ #define CONFIG_SYS_MEMTEST_END PHYS_SDRAM_1_SIZE #define CONFIG_SYS_INIT_RAM_ADDR 0xFFFF0000 -#define CONFIG_SYS_INIT_RAM_SIZE (0x10000 - 0x100) +#define CONFIG_SYS_INIT_RAM_SIZE (0x10000 - CONFIG_SYS_SPL_MALLOC_SIZE) #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) |