diff options
author | Michal Simek <monstr@monstr.eu> | 2009-10-26 04:56:48 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-12-14 02:45:01 -0500 |
commit | 27d2a3ee5e9874e400b59d802405b58b65a8a723 (patch) | |
tree | 4953836efbe75ab25c68018a8588bf662ffe64f8 /arch | |
parent | 3e78e4e5eaf6a85b8cdcc880bb46c1e4b4b79cc2 (diff) |
microblaze: Enable asm optimization only for HW with barrel-shifter
Asm code uses barrel-shifter instruction that's why we have
to protect cases when HW don't have it.
Reported-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/platform/Kconfig.platform | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/platform/Kconfig.platform b/arch/microblaze/platform/Kconfig.platform index 28e418a3c0b4..669c7eec293e 100644 --- a/arch/microblaze/platform/Kconfig.platform +++ b/arch/microblaze/platform/Kconfig.platform | |||
@@ -53,7 +53,7 @@ config OPT_LIB_FUNCTION | |||
53 | 53 | ||
54 | config OPT_LIB_ASM | 54 | config OPT_LIB_ASM |
55 | bool "Optimalized lib function ASM" | 55 | bool "Optimalized lib function ASM" |
56 | depends on OPT_LIB_FUNCTION | 56 | depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1) |
57 | default n | 57 | default n |
58 | help | 58 | help |
59 | Allows turn on optimalized library function (memcpy and memmove). | 59 | Allows turn on optimalized library function (memcpy and memmove). |