diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-12-15 21:30:40 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-16 12:14:38 (GMT) |
commit | be72591bcd644df7e16afdd12ec258693693422f (patch) | |
tree | a95f87e2bd67cc5d0031634edf8aa926429c7517 /arch/arm | |
parent | 41122d374f0665c7069df38f6f8c6f6c59c1042e (diff) | |
download | u-boot-fsl-qoriq-be72591bcd644df7e16afdd12ec258693693422f.tar.xz |
Kconfig: Move USE_ARCH_MEMCPY/MEMSET to Kconfig
Move USE_ARCH_MEMCPY/MEMSET options to Kconfig.
Make it "default y" for the ARMv7 architecture and make it
depend on !ARM64 && !SPL.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 714dd8b..587f288 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -126,6 +126,24 @@ config ENABLE_ARM_SOC_BOOT0_HOOK ARM_SOC_BOOT0_HOOK which contains the required assembler preprocessor code. +config USE_ARCH_MEMCPY + bool "Use an assembly optimized implementation of memcpy" + default y if CPU_V7 + depends on !ARM64 && !SPL + help + Enable the generation of an optimized version of memcpy. + Such implementation may be faster under some conditions + but may increase the binary size. + +config USE_ARCH_MEMSET + bool "Use an assembly optimized implementation of memset" + default y if CPU_V7 + depends on !ARM64 && !SPL + help + Enable the generation of an optimized version of memset. + Such implementation may be faster under some conditions + but may increase the binary size. + config ARCH_OMAP2 bool select CPU_V7 |