summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-03-04 14:01:21 +0100
committerTom Rini <trini@konsulko.com>2015-03-09 11:13:28 -0400
commit929d9a29e14cbfd890502e6d06b33d37172cacf4 (patch)
treedd0c8ee6795fbd78d6245fcfb997aeb4e07ea5ea /include
parentbd4f706aa872fd5793f150fc98a8131e9b4e911d (diff)
downloadu-boot-imx-929d9a29e14cbfd890502e6d06b33d37172cacf4.zip
u-boot-imx-929d9a29e14cbfd890502e6d06b33d37172cacf4.tar.gz
u-boot-imx-929d9a29e14cbfd890502e6d06b33d37172cacf4.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/exynos-common.h3
1 files changed, 3 insertions, 0 deletions
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