]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
trats2: defconfig: disable memset at malloc init
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 4 Mar 2015 13:01:25 +0000 (14:01 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:28:31 +0000 (14:28 +0200)
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 <p.marczak@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/trats2_defconfig

index 1b98b739daf08dc71ee2184da2b22dc4c3ce9320..935970658566e11df1bc2fa1c605b8f183d250b5 100644 (file)
@@ -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