diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-09-15 09:38:18 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-09-18 22:56:10 +0200 |
commit | 19ed25b81ee07950decd39d57cf90e2e5a43d3cb (patch) | |
tree | e428b9b73af74a056d36449553867f02b8e17425 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | |
parent | c7878a0483c59c48a730123bc0f4659fd40921bf (diff) |
Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN
"alloc space exhausted" happens in very early stage, which could be seen
with DEBUG_UART options enabled and leeds to an non-functional board.
kontron_pitx_imx8m:
CONFIG_DEBUG_UART_BASE=0x30880000 # for serial3
CONFIG_DEBUG_UART_CLOCK=24000000
imx8mqevk:
CONFIG_DEBUG_UART_BASE=0x30860000 # for uart1
CONFIG_DEBUG_UART_CLOCK=24000000
It is because CONFIG_SYS_MALLOC_F_LEN is too small and still leave
CONFIG_SPL_SYS_MALLOC_F_LEN as 0x2000.
Reported-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h')
0 files changed, 0 insertions, 0 deletions