Skip to content
Commit 19ed25b8 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

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: default avatarHeiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Reviewed-by: default avatarHeiko Thiery <heiko.thiery@gmail.com>
Tested-by: default avatarHeiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: default avatarFabio Estevam <festevam@denx.de>
parent c7878a04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment