From: Przemyslaw Marczak Date: Wed, 4 Mar 2015 13:01:26 +0000 (+0100) Subject: odroid: defconfig: disable memset at malloc init X-Git-Tag: v2015.04-rc4~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d51f699908ae5b2efee2f42eb41985523fe6fde7;p=u-boot 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 --- diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig index 816a3fad3c..cfb29e0e48 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