blob: db1aa5c22cea5b941c057034e62886a6a0b467fe [file] [log] [blame]
Michal Simek575ca282009-03-27 14:25:50 +01001# 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
Michal Simek575ca282009-03-27 14:25:50 +010021config 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"
Michal Simek27d2a3e2009-10-26 09:56:48 +010034 depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
Michal Simek575ca282009-03-27 14:25:50 +010035 default n
36 help
37 Allows turn on optimalized library function (memcpy and memmove).
38 Function are written in asm code.
39
Michal Simek575ca282009-03-27 14:25:50 +010040if PLATFORM_GENERIC=y
41 source "arch/microblaze/platform/generic/Kconfig.auto"
42endif
43
44endmenu