From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Tue, 24 Feb 2015 15:39:47 +0100 Subject: [U-Boot] [PATCH v5 6/7] odroid: defconfig: disable memset at malloc init In-Reply-To: <1424774311-23726-7-git-send-email-p.marczak@samsung.com> References: <1424711811-3442-1-git-send-email-p.marczak@samsung.com> <1424774311-23726-1-git-send-email-p.marczak@samsung.com> <1424774311-23726-7-git-send-email-p.marczak@samsung.com> Message-ID: <20150224153947.38e2ccf2@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Przemyslaw, > 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 > > --- > 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 > --- > configs/odroid_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig > index a842837..aac9f5a 100644 > --- a/configs/odroid_defconfig > +++ b/configs/odroid_defconfig > @@ -3,3 +3,4 @@ CONFIG_ARCH_EXYNOS=y > CONFIG_TARGET_ODROID=y > CONFIG_OF_CONTROL=y > CONFIG_DEFAULT_DEVICE_TREE="exynos4412-odroid" > +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set Acked-by: Lukasz Majewski -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group