diff mbox series

configs: synquacer: increase SYS_MALLOC_F_LEN

Message ID 20230601091351.1651539-1-masahisa.kojima@linaro.org
State Accepted
Commit 7f8062b7e590d06cf3ac73cfe5e88b96c642d7c0
Headers show
Series configs: synquacer: increase SYS_MALLOC_F_LEN | expand

Commit Message

Masahisa Kojima June 1, 2023, 9:13 a.m. UTC
DM_FLAG_PRE_RELOC flag is added into some drivers
by recent commits such as
1bd790bc4b ("firmware: psci: enable DM_FLAG_PRE_RELOC").
Current SYS_MALLOC_F_LEN of SynQuacer Developerbox platform
is too small, Developerbox will not boot due to lack of
heap memory.

This commit increases the size of heap memory.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
---
 configs/synquacer_developerbox_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ilias Apalodimas June 1, 2023, 9:22 a.m. UTC | #1
On Thu, 1 Jun 2023 at 12:14, Masahisa Kojima <masahisa.kojima@linaro.org> wrote:
>
> DM_FLAG_PRE_RELOC flag is added into some drivers
> by recent commits such as
> 1bd790bc4b ("firmware: psci: enable DM_FLAG_PRE_RELOC").
> Current SYS_MALLOC_F_LEN of SynQuacer Developerbox platform
> is too small, Developerbox will not boot due to lack of
> heap memory.
>
> This commit increases the size of heap memory.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> ---
>  configs/synquacer_developerbox_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig
> index 68f7bacf02..818cb6d1b0 100644
> --- a/configs/synquacer_developerbox_defconfig
> +++ b/configs/synquacer_developerbox_defconfig
> @@ -2,7 +2,7 @@ CONFIG_ARM=y
>  CONFIG_ARCH_SYNQUACER=y
>  CONFIG_TEXT_BASE=0x08200000
>  CONFIG_SYS_MALLOC_LEN=0x1000000
> -CONFIG_SYS_MALLOC_F_LEN=0x400
> +CONFIG_SYS_MALLOC_F_LEN=0x4000
>  CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
>  CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xe0000000
>  CONFIG_SF_DEFAULT_SPEED=31250000
> --
> 2.34.1
>

Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Jassi Brar June 1, 2023, 2:24 p.m. UTC | #2
On Thu, 1 Jun 2023 at 04:14, Masahisa Kojima <masahisa.kojima@linaro.org> wrote:
>
> DM_FLAG_PRE_RELOC flag is added into some drivers
> by recent commits such as
> 1bd790bc4b ("firmware: psci: enable DM_FLAG_PRE_RELOC").
> Current SYS_MALLOC_F_LEN of SynQuacer Developerbox platform
> is too small, Developerbox will not boot due to lack of
> heap memory.
>
> This commit increases the size of heap memory.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>

Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Tom Rini June 21, 2023, 6:41 p.m. UTC | #3
On Thu, Jun 01, 2023 at 06:13:51PM +0900, Masahisa Kojima wrote:

> DM_FLAG_PRE_RELOC flag is added into some drivers
> by recent commits such as
> 1bd790bc4b ("firmware: psci: enable DM_FLAG_PRE_RELOC").
> Current SYS_MALLOC_F_LEN of SynQuacer Developerbox platform
> is too small, Developerbox will not boot due to lack of
> heap memory.
> 
> This commit increases the size of heap memory.
> 
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Acked-by: Jassi Brar <jaswinder.singh@linaro.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig
index 68f7bacf02..818cb6d1b0 100644
--- a/configs/synquacer_developerbox_defconfig
+++ b/configs/synquacer_developerbox_defconfig
@@ -2,7 +2,7 @@  CONFIG_ARM=y
 CONFIG_ARCH_SYNQUACER=y
 CONFIG_TEXT_BASE=0x08200000
 CONFIG_SYS_MALLOC_LEN=0x1000000
-CONFIG_SYS_MALLOC_F_LEN=0x400
+CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xe0000000
 CONFIG_SF_DEFAULT_SPEED=31250000