From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 19 Jan 2017 06:58:01 -0700 Subject: [U-Boot] [PATCH 1/2] ARM: Default to using optimized memset and memcpy routines In-Reply-To: <1484244963-11937-1-git-send-email-trini@konsulko.com> References: <1484244963-11937-1-git-send-email-trini@konsulko.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12 January 2017 at 11: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 > Cc: Eric Jarrige > Cc: Heiko Schocher > Cc: Magnus Lilja > Cc: Lokesh Vutla > Cc: Chander Kashyap > Cc: Akshay Saraswat > Cc: Simon Glass > Cc: Stefan Roese > Signed-off-by: Tom Rini > --- > 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(-) Reviewed-by: Simon Glass