[U-Boot] [PATCH 1/2] ARM: Default to using optimized memset and memcpy routines

Stefan Roese sr at denx.de
Fri Jan 13 07:16:13 CET 2017


On 12.01.2017 19:16, Tom Rini wrote:
> We have long had available optimized versions of the memset and memcpy
> functions that are borrowed from the Linux kernel.  We should use these
> in normal conditions as the speed wins in many workflows outweigh the
> relatively minor size increase.  However, we have a number of places
> where we're simply too close to size limits in SPL and must be able to
> make the size vs performance trade-off in those cases.
>
> Cc: Philippe Reynes <tremyfr at yahoo.fr>
> Cc: Eric Jarrige <eric.jarrige at armadeus.org>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Magnus Lilja <lilja.magnus at gmail.com>
> Cc: Lokesh Vutla <lokeshvutla at ti.com>
> Cc: Chander Kashyap <k.chander at samsung.com>
> Cc: Akshay Saraswat <akshay.s at samsung.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefan Roese <sr at denx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  arch/arm/Kconfig                | 22 ++++++++++++++++++++--
>  arch/arm/lib/Makefile           |  4 ++--
>  common/init/board_init.c        |  2 +-
>  configs/apf27_defconfig         |  1 +
>  configs/axm_defconfig           |  2 ++
>  configs/corvus_defconfig        |  2 ++
>  configs/mx31pdk_defconfig       |  2 ++
>  configs/omap4_sdp4430_defconfig |  2 ++
>  configs/smartweb_defconfig      |  2 ++
>  configs/smdk5250_defconfig      |  2 ++
>  configs/snow_defconfig          |  2 ++
>  configs/spring_defconfig        |  2 ++
>  configs/taurus_defconfig        |  2 ++
>  configs/x600_defconfig          |  2 ++
>  examples/api/Makefile           |  5 ++++-
>  15 files changed, 48 insertions(+), 6 deletions(-)

For the x600 part:

Acked-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


More information about the U-Boot mailing list