]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: Kconfig: Enable usage of optimized memset/memcpy/memmove
authorStefan Roese <sr@denx.de>
Thu, 2 Sep 2021 15:00:19 +0000 (17:00 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Sep 2021 11:49:16 +0000 (07:49 -0400)
commit4e062fc955b684d004b252b33b006a6a16899f5c
tree8e378b623cd2b5f2d9883b93aa7afa9feb5ff42e
parent1e43bb67325f708c6bbfa64f584b29f865ee634c
arm64: Kconfig: Enable usage of optimized memset/memcpy/memmove

This patch enables the use of the optimized memset(), memmove() &
memcpy() versions recently added on ARM64.

Please note that these optimized functions are now only enabled for
recent GCC versions (>= 9.4), as earlier GCC versions throw these
errors:

aarch64-linux-ar: warning: arch/arm/lib/memset-arm64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
...

Signed-off-by: Stefan Roese <sr@denx.de>
[trini: Make this default to off as it causes problems on some platforms still]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/include/asm/string.h