diff mbox

[U-Boot,v3,5/6] trats2: defconfig: enable expert and skip memset at malloc init

Message ID 1424430379-12599-6-git-send-email-p.marczak@samsung.com
State Changes Requested
Headers show

Commit Message

Przemyslaw Marczak Feb. 20, 2015, 11:06 a.m. UTC
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>
---
Changes V3
- none
---
 configs/trats2_defconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig
index 1b98b73..21cc37a 100644
--- a/configs/trats2_defconfig
+++ b/configs/trats2_defconfig
@@ -3,3 +3,5 @@  CONFIG_ARCH_EXYNOS=y
 CONFIG_TARGET_TRATS2=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos4412-trats2"
+CONFIG_EXPERT=y
+CONFIG_SYS_MALLOC_INIT_SKIP_ZEROING=y