diff options
author | Ying Zhang <b40530@freescale.com> | 2014-01-24 15:50:08 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-02-24 15:23:25 -0800 |
commit | 27585bd3572f2743fef87adebd9e48b33483c4be (patch) | |
tree | ab04daede2e26801fb68134cf3844abb022bcec5 /include | |
parent | 5a89fa927cf6c54efe36918a4894ce31274d9ef1 (diff) | |
download | u-boot-imx-27585bd3572f2743fef87adebd9e48b33483c4be.zip u-boot-imx-27585bd3572f2743fef87adebd9e48b33483c4be.tar.gz u-boot-imx-27585bd3572f2743fef87adebd9e48b33483c4be.tar.bz2 |
SPL: P1022DS: fix the problem booting from spi flash
There was no enough memory for malloc in SPL booting from spi flash, so
relayout the memory in SPL: reduce the memory for global data from 16K
Bytes to 4K Bytes, save the space for malloc.
Signed-off-by: Ying Zhang <b40530@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/P1022DS.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index 2f431aa..139d4fe 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -365,10 +365,10 @@ #define CONFIG_SYS_L2_SIZE (256 << 10) #define CONFIG_SYS_INIT_L2_END (CONFIG_SYS_INIT_L2_ADDR + CONFIG_SYS_L2_SIZE) #define CONFIG_SPL_RELOC_TEXT_BASE 0xf8f81000 -#define CONFIG_SPL_RELOC_STACK (CONFIG_SYS_INIT_L2_ADDR + 128 * 1024) +#define CONFIG_SPL_RELOC_STACK (CONFIG_SYS_INIT_L2_ADDR + 116 * 1024) #define CONFIG_SPL_RELOC_STACK_SIZE (32 << 10) -#define CONFIG_SPL_RELOC_MALLOC_ADDR (CONFIG_SYS_INIT_L2_ADDR + 160 * 1024) -#define CONFIG_SPL_RELOC_MALLOC_SIZE (96 << 10) +#define CONFIG_SPL_RELOC_MALLOC_ADDR (CONFIG_SYS_INIT_L2_ADDR + 148 * 1024) +#define CONFIG_SPL_RELOC_MALLOC_SIZE (108 << 10) #define CONFIG_SPL_GD_ADDR (CONFIG_SYS_INIT_L2_ADDR + 112 * 1024) #elif defined(CONFIG_NAND) #ifdef CONFIG_TPL_BUILD |