Merge branch 'tunnels'
[linux.git] / arch / microblaze / platform / Kconfig.platform
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
7 menu "Platform options"
8 choice
9         prompt "Platform"
10         default PLATFORM_MICROBLAZE_AUTO
11         help
12           Choose which hardware board/platform you are targeting.
13
14 config PLATFORM_GENERIC
15         bool "Generic"
16         help
17           Choose this option for the Generic platform.
18
19 endchoice
20
21 config 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
32 config OPT_LIB_ASM
33         bool "Optimalized lib function ASM"
34         depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
35         default n
36         help
37           Allows turn on optimalized library function (memcpy and memmove).
38           Function are written in asm code.
39
40 if PLATFORM_GENERIC=y
41         source "arch/microblaze/platform/generic/Kconfig.auto"
42 endif
43
44 endmenu