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

Tom Rini trini at konsulko.com
Thu Dec 15 16:30:12 CET 2016


On Thu, Dec 15, 2016 at 01:23:14PM -0200, Fabio Estevam wrote:

> 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

Can you please migrate USE_ARCH_MEMCPY/MEMSET to Kconfig, and default y
them (not select) for ARMv7?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161215/808aa36d/attachment.sig>


More information about the U-Boot mailing list