mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
ARM: UniPhier: decrease pre-reloc malloc area size
In the current implementation of the boot sequence of UniPhier platform, 32KB temporary RAM is available before relocation. The malloc area and the stack shares the 32KB area. With CONFIG_SYS_MALLOC_F_LEN set to 0x7000 (28KB), only 0x1000 (4KB) is left for the stack. In some use cases, the system hangs up with stack over-flow. Even with driver-model UART enabled, the malloc area of 0x2000 (8KB) should be enough. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
2d5d1c9e29
commit
0d8c7f747e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ are defined. Select only one of them."
|
||||||
#define CONFIG_SMC911X_BASE CONFIG_SUPPORT_CARD_ETHER_BASE
|
#define CONFIG_SMC911X_BASE CONFIG_SUPPORT_CARD_ETHER_BASE
|
||||||
#define CONFIG_SMC911X_32_BIT
|
#define CONFIG_SMC911X_32_BIT
|
||||||
|
|
||||||
#define CONFIG_SYS_MALLOC_F_LEN 0x7000
|
#define CONFIG_SYS_MALLOC_F_LEN 0x2000
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* MMU and Cache Setting
|
* MMU and Cache Setting
|
||||||
|
|
Loading…
Reference in a new issue