From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Tue, 24 Feb 2015 15:30:50 +0100 Subject: [U-Boot] [PATCH v5 1/7] exynos: config: enable arch memcpy and arch memset In-Reply-To: <1424774311-23726-2-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-2-git-send-email-p.marczak@samsung.com> Message-ID: <20150224153050.4ad695e8@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, > This commit enables the following configs: > - CONFIG_USE_ARCH_MEMCPY > - CONFIG_USE_ARCH_MEMSET > This increases the performance of memcpy/memset > and also reduces the boot time. > > This was tested on Trats2. > A quick test with trace. Boot time from start to main_loop() entry: > - ~1527ms - before this change (arch memset enabled for .bss clear) > - ~1384ms - after this change > > Signed-off-by: Przemyslaw Marczak > Reviewed-by: Simon Glass > Cc: Minkyu Kang > Cc: Akshay Saraswat > Cc: Simon Glass > Cc: Sjoerd Simons > > --- > Changes V3, V4, V5 > - none > --- > include/configs/exynos-common.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/configs/exynos-common.h > b/include/configs/exynos-common.h index 59676ae..87f8db0 100644 > --- a/include/configs/exynos-common.h > +++ b/include/configs/exynos-common.h > @@ -24,6 +24,9 @@ > #define CONFIG_SKIP_LOWLEVEL_INIT > #define CONFIG_BOARD_EARLY_INIT_F > > +#define CONFIG_USE_ARCH_MEMCPY > +#define CONFIG_USE_ARCH_MEMSET > + > /* Keep L2 Cache Disabled */ > #define CONFIG_CMD_CACHE > Acked-by: Lukasz Majewski -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group