]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
odroid: defconfig: disable memset at malloc init
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 4 Mar 2015 13:01:26 +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 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>
configs/odroid_defconfig

index 816a3fad3c9c3422340855c725abf29b6bf89567..cfb29e0e4807bbbb0544846ccc4b344a8785d1c6 100644 (file)
@@ -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