[PATCH] configs: synquacer: increase SYS_MALLOC_F_LEN

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

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

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

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!
participants (4)
-
Ilias Apalodimas
-
Jassi Brar
-
Masahisa Kojima
-
Tom Rini