From d51f699908ae5b2efee2f42eb41985523fe6fde7 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Wed, 4 Mar 2015 14:01:26 +0100
Subject: odroid: defconfig: disable memset at malloc init
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
Reviewed-by: Simon Glass
---
configs/odroid_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'configs/odroid_defconfig')
diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig
index 816a3fa..cfb29e0 100644
--- a/configs/odroid_defconfig
+++ b/configs/odroid_defconfig
@@ -2,6 +2,6 @@ CONFIG_ARM=y
CONFIG_ARCH_EXYNOS=y
CONFIG_TARGET_ODROID=y
CONFIG_OF_CONTROL=y
-CONFIG_DEFAULT_DEVICE_TREE="exynos4412-odroid"
CONFIG_DM_I2C=y
CONFIG_DM_I2C_COMPAT=y
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
--
cgit v1.1