CONFIG_SYS_MALLOC_CLEAR_ON_INIT zeroes the entire malloc pool at
init, costing measurable boot time on the 256MB pool used by Qcom
boards. Disabling it saves ~74ms on Qcom SoC bootup time.

Signed-off-by: Aswin Murugan <[email protected]>
---
 configs/qcom_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index b0d0f51b1c0..f7c850beff1 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -13,6 +13,7 @@ CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
 CONFIG_BUTTON_CMD=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_BOOTSTD_FULL=y
 # CONFIG_BOOTMETH_VBE is not set
 CONFIG_BOOTDELAY=1
-- 
2.34.1

Reply via email to