[U-Boot] [PATCH v2 1/8] exynos: config: enable arch memcpy and arch memset
Przemyslaw Marczak
p.marczak at samsung.com
Mon Feb 16 16:13:14 CET 2015
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 <p.marczak at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
Cc: Akshay Saraswat <akshay.s at samsung.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
---
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 1f3ee55..5c14c40 100644
--- a/include/configs/exynos-common.h
+++ b/include/configs/exynos-common.h
@@ -30,6 +30,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
--
1.9.1
More information about the U-Boot
mailing list