Commit 929d9a29e14cbfd890502e6d06b33d37172cacf4

Authored by Przemyslaw Marczak
Committed by Tom Rini
1 parent bd4f706aa8

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 <p.marczak@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Akshay Saraswat <akshay.s@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

include/configs/exynos-common.h
... ... @@ -24,6 +24,9 @@
24 24 #define CONFIG_SKIP_LOWLEVEL_INIT
25 25 #define CONFIG_BOARD_EARLY_INIT_F
26 26  
  27 +#define CONFIG_USE_ARCH_MEMCPY
  28 +#define CONFIG_USE_ARCH_MEMSET
  29 +
27 30 /* Keep L2 Cache Disabled */
28 31 #define CONFIG_CMD_CACHE
29 32