summaryrefslogtreecommitdiff
path: root/arch/microblaze/Kconfig.platform
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-01-22 11:20:55 +0100
committerMichal Simek <michal.simek@xilinx.com>2018-01-22 11:24:14 +0100
commit7b6ce52be3f86520524711a6f33f3866f9339694 (patch)
tree3b417bdec568919d237cc186edc72be5b77cdd06 /arch/microblaze/Kconfig.platform
parent2c957902b17bae77b255dc7013457c65dd3bd3bd (diff)
microblaze: Setup proper dependency for optimized lib functions
Optimized library functions are implemented only for little endian. Setup this dependency via Kconfig. commit 206d3642d8ee ("arch/microblaze: add choice for endianness and update Makefile") added an option to setup endianess via Kconfig. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/Kconfig.platform')
-rw-r--r--arch/microblaze/Kconfig.platform1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig.platform b/arch/microblaze/Kconfig.platform
index 1b3d8c849101..6996f397c16c 100644
--- a/arch/microblaze/Kconfig.platform
+++ b/arch/microblaze/Kconfig.platform
@@ -8,6 +8,7 @@ menu "Platform options"
config OPT_LIB_FUNCTION
bool "Optimalized lib function"
+ depends on CPU_LITTLE_ENDIAN
default y
help
Allows turn on optimalized library function (memcpy and memmove).