diff mbox

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

Message ID 1424430379-12599-7-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 Odroid X2/U3 by disabling the memset
at malloc init.

This was tested on Odroid X2.
A quick test with checking gpio pin state using the oscilloscope.
Boot time from start to bootcmd (change gpio state by memory write command):
- ~228ms - before this change (arch memset enabled for .bss clear)
- ~100ms - after this change

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

---
Changes V3
- update commit head
---
 configs/odroid_defconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig
index a842837..24af164 100644
--- a/configs/odroid_defconfig
+++ b/configs/odroid_defconfig
@@ -3,3 +3,5 @@  CONFIG_ARCH_EXYNOS=y
 CONFIG_TARGET_ODROID=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos4412-odroid"
+CONFIG_EXPERT=y
+CONFIG_SYS_MALLOC_INIT_SKIP_ZEROING=y