summaryrefslogtreecommitdiff
path: root/include/configs/uniphier-common.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-11 21:50:41 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-12 00:22:49 +0900
commit0d8c7f747ee508c13a7a1682013de8e7b3f1f32e (patch)
treeffc0cb288fa989ec119aa9df6269430450d30d7f /include/configs/uniphier-common.h
parent2d5d1c9e293ac1e29f1e0f067aa381be44e8e844 (diff)
downloadu-boot-imx-0d8c7f747ee508c13a7a1682013de8e7b3f1f32e.zip
u-boot-imx-0d8c7f747ee508c13a7a1682013de8e7b3f1f32e.tar.gz
u-boot-imx-0d8c7f747ee508c13a7a1682013de8e7b3f1f32e.tar.bz2
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>
Diffstat (limited to 'include/configs/uniphier-common.h')
-rw-r--r--include/configs/uniphier-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/uniphier-common.h b/include/configs/uniphier-common.h
index c779c9f..45becc1 100644
--- a/include/configs/uniphier-common.h
+++ b/include/configs/uniphier-common.h
@@ -43,7 +43,7 @@ are defined. Select only one of them."
#define CONFIG_SMC911X_BASE CONFIG_SUPPORT_CARD_ETHER_BASE
#define CONFIG_SMC911X_32_BIT
-#define CONFIG_SYS_MALLOC_F_LEN 0x7000
+#define CONFIG_SYS_MALLOC_F_LEN 0x2000
/*-----------------------------------------------------------------------
* MMU and Cache Setting