From: Przemyslaw Marczak Date: Wed, 4 Mar 2015 13:01:21 +0000 (+0100) Subject: exynos: config: enable arch memcpy and arch memset X-Git-Tag: v2015.04-rc4~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=929d9a29e14cbfd890502e6d06b33d37172cacf4;p=u-boot exynos: config: enable arch memcpy and arch memset 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 --- diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h index 59676ae61b..87f8db0fba 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