ARM: Default to using optimized memset and memcpy routines
authorTom Rini <trini@konsulko.com>
Thu, 12 Jan 2017 18:16:02 +0000 (13:16 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2017 20:38:01 +0000 (15:38 -0500)
commit40d5534cff720d566cd52f532f26eea2bd86c1ae
tree14647f1aaaa49a0591c1c13d184cf435caaa323c
parenta4a35934c7e0475e968e82ded33ef8ad47f10bc7
ARM: Default to using optimized memset and memcpy routines

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@yahoo.fr>
Cc: Eric Jarrige <eric.jarrige@armadeus.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Magnus Lilja <lilja.magnus@gmail.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Chander Kashyap <k.chander@samsung.com>
Cc: Akshay Saraswat <akshay.s@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
15 files changed:
arch/arm/Kconfig
arch/arm/lib/Makefile
common/init/board_init.c
configs/apf27_defconfig
configs/axm_defconfig
configs/corvus_defconfig
configs/mx31pdk_defconfig
configs/omap4_sdp4430_defconfig
configs/smartweb_defconfig
configs/smdk5250_defconfig
configs/snow_defconfig
configs/spring_defconfig
configs/taurus_defconfig
configs/x600_defconfig
examples/api/Makefile