[U-Boot] [PATCH 3/3] mx6: Select CONFIG_USE_ARCH_MEMCPY

Fabio Estevam fabio.estevam at nxp.com
Thu Dec 15 16:23:14 CET 2016


The CONFIG_USE_ARCH_MEMCPY option builds an assembly optimized version
of memcpy, so select it to gain performance.

Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
---
 include/configs/mx6_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index d28654b..d54578a 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -18,6 +18,8 @@
 #define CONFIG_SYS_PL310_BASE	L2_PL310_BASE
 #endif
 
+#define CONFIG_USE_ARCH_MEMCPY
+
 #define CONFIG_MP
 #endif
 #define CONFIG_BOARD_POSTCLK_INIT
-- 
2.7.4



More information about the U-Boot mailing list