diff mbox

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

Message ID 1481815395-4277-3-git-send-email-fabio.estevam@nxp.com
State Superseded
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Dec. 15, 2016, 3:23 p.m. UTC
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@nxp.com>
---
 include/configs/mx6_common.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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