microblaze: Setup dependencies for ASM optimized lib functions
The patch:
"microblaze: Setup proper dependency for optimized lib functions"
(sha1: 7b6ce52be3
)
didn't setup all dependencies properly.
Optimized lib functions in C are also present for little endian
and optimized library functions in assembler are implemented only for
big endian version.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
91ab883eb2
commit
18ffc0cce4
|
@ -8,7 +8,6 @@ menu "Platform options"
|
||||||
|
|
||||||
config OPT_LIB_FUNCTION
|
config OPT_LIB_FUNCTION
|
||||||
bool "Optimalized lib function"
|
bool "Optimalized lib function"
|
||||||
depends on CPU_LITTLE_ENDIAN
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Allows turn on optimalized library function (memcpy and memmove).
|
Allows turn on optimalized library function (memcpy and memmove).
|
||||||
|
@ -21,6 +20,7 @@ config OPT_LIB_FUNCTION
|
||||||
config OPT_LIB_ASM
|
config OPT_LIB_ASM
|
||||||
bool "Optimalized lib function ASM"
|
bool "Optimalized lib function ASM"
|
||||||
depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
|
depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
|
||||||
|
depends on CPU_BIG_ENDIAN
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Allows turn on optimalized library function (memcpy and memmove).
|
Allows turn on optimalized library function (memcpy and memmove).
|
||||||
|
|
|
@ -29,10 +29,6 @@
|
||||||
* between mem locations with size of xfer spec'd in bytes
|
* between mem locations with size of xfer spec'd in bytes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __MICROBLAZEEL__
|
|
||||||
#error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
.text
|
.text
|
||||||
.globl memcpy
|
.globl memcpy
|
||||||
|
|
Loading…
Reference in New Issue