summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShengyu Qu <wiagn233@outlook.com>2023-08-24 19:25:21 +0300
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-09-05 05:53:46 +0300
commitf39e24496af503c7968cc5e15940701fdf2a0c5b (patch)
treeb3a5b025ff99b9464fa27a85bd00172e16434f2f
parent64339bc1f2ae2c0bfcc058a5001284a9a222f15b (diff)
downloadu-boot-f39e24496af503c7968cc5e15940701fdf2a0c5b.tar.xz
configs: starfive: Disable SYS_MALLOC_CLEAR_ON_INIT by default
SPL_SYS_MALLOC_CLEAR_ON_INIT would enable SYS_MALLOC_CLEAR_ON_INIT by default, but that's not need on JH7110, so disable that. Signed-off-by: Shengyu Qu <wiagn233@outlook.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r--configs/starfive_visionfive2_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig
index 3002c96f0e..9df6fcee0f 100644
--- a/configs/starfive_visionfive2_defconfig
+++ b/configs/starfive_visionfive2_defconfig
@@ -59,6 +59,8 @@ CONFIG_SYS_SPL_MALLOC=y
CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000
CONFIG_SYS_SPL_MALLOC_SIZE=0x400000
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL_SYS_MALLOC_CLEAR_ON_INIT=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
CONFIG_SPL_I2C=y