[U-Boot] [PATCH v6 06/10] odroid: defconfig: disable memset at malloc init

Przemyslaw Marczak p.marczak at samsung.com
Wed Mar 4 14:01:26 CET 2015


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 at samsung.com>
Reviewed-by: Simon Glass <sjg at chromium.org>

---
Changes V3
- update commit head

Changes V4
- odroid_defconfig: remove CONFIG_EXPERT
- odroid_defconfig: disable CONFIG_SYS_MALLOC_INIT_DO_ZEROING

Changes v5
- update disabled config name to CONFIG_SYS_MALLOC_CLEAR_ON_INIT

Changes v6:
- fix merge conflict with master
---
 configs/odroid_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.9.1



More information about the U-Boot mailing list