From: Przemyslaw Marczak
Date: Wed, 4 Mar 2015 13:01:25 +0000 (+0100)
Subject: trats2: defconfig: disable memset at malloc init
X-Git-Tag: v2015.04-rc4~54
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30181266b74f10fd901b0fc01c974a1196f8829d;p=u-boot
trats2: defconfig: disable memset at malloc init
Reduce the boot time of Trats2 by disabling the memset
at malloc init.
This was tested on Trats2.
A quick test with trace. Boot time from start to main_loop() entry:
- ~464ms - before this change (arch memset enabled for .bss clear)
- ~341ms - after this change
Signed-off-by: Przemyslaw Marczak
Reviewed-by: Simon Glass
---
diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig
index 1b98b739da..9359706585 100644
--- a/configs/trats2_defconfig
+++ b/configs/trats2_defconfig
@@ -3,3 +3,4 @@ CONFIG_ARCH_EXYNOS=y
CONFIG_TARGET_TRATS2=y
CONFIG_OF_CONTROL=y
CONFIG_DEFAULT_DEVICE_TREE="exynos4412-trats2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set