]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/microblaze/platform/Kconfig.platform
microblaze: Sort Kconfig options
[mirror_ubuntu-jammy-kernel.git] / arch / microblaze / platform / Kconfig.platform
CommitLineData
575ca288
MS
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3#
4# Platform selection Kconfig menu for MicroBlaze targets
5#
6
7menu "Platform options"
8choice
9 prompt "Platform"
10 default PLATFORM_MICROBLAZE_AUTO
11 help
12 Choose which hardware board/platform you are targeting.
13
14config PLATFORM_GENERIC
15 bool "Generic"
16 help
17 Choose this option for the Generic platform.
18
19endchoice
20
575ca288
MS
21config OPT_LIB_FUNCTION
22 bool "Optimalized lib function"
23 default y
24 help
25 Allows turn on optimalized library function (memcpy and memmove).
26 They are optimized by using word alignment. This will work
27 fine if both source and destination are aligned on the same
28 boundary. However, if they are aligned on different boundaries
29 shifts will be necessary. This might result in bad performance
30 on MicroBlaze systems without a barrel shifter.
31
32config OPT_LIB_ASM
33 bool "Optimalized lib function ASM"
27d2a3ee 34 depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
575ca288
MS
35 default n
36 help
37 Allows turn on optimalized library function (memcpy and memmove).
38 Function are written in asm code.
39
575ca288
MS
40if PLATFORM_GENERIC=y
41 source "arch/microblaze/platform/generic/Kconfig.auto"
42endif
43
44endmenu