1c24cf712SMichal Simek# For a description of the syntax of this configuration file,
2c24cf712SMichal Simek# see Documentation/kbuild/kconfig-language.txt.
3c24cf712SMichal Simek#
4c24cf712SMichal Simek# Platform selection Kconfig menu for MicroBlaze targets
5c24cf712SMichal Simek#
6c24cf712SMichal Simek
7c24cf712SMichal Simekmenu "Platform options"
8c24cf712SMichal Simek
9c24cf712SMichal Simekconfig OPT_LIB_FUNCTION
10c24cf712SMichal Simek	bool "Optimalized lib function"
11c24cf712SMichal Simek	default y
12c24cf712SMichal Simek	help
13c24cf712SMichal Simek	  Allows turn on optimalized library function (memcpy and memmove).
14c24cf712SMichal Simek	  They are optimized by using word alignment. This will work
15c24cf712SMichal Simek	  fine if both source and destination are aligned on the same
16c24cf712SMichal Simek	  boundary. However, if they are aligned on different boundaries
17c24cf712SMichal Simek	  shifts will be necessary. This might result in bad performance
18c24cf712SMichal Simek	  on MicroBlaze systems without a barrel shifter.
19c24cf712SMichal Simek
20c24cf712SMichal Simekconfig OPT_LIB_ASM
21c24cf712SMichal Simek	bool "Optimalized lib function ASM"
22c24cf712SMichal Simek	depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
23c24cf712SMichal Simek	default n
24c24cf712SMichal Simek	help
25c24cf712SMichal Simek	  Allows turn on optimalized library function (memcpy and memmove).
26c24cf712SMichal Simek	  Function are written in asm code.
27c24cf712SMichal Simek
28c24cf712SMichal Simek# Definitions for MICROBLAZE0
29c24cf712SMichal Simekcomment "Definitions for MICROBLAZE0"
30c24cf712SMichal Simek
31c24cf712SMichal Simekconfig KERNEL_BASE_ADDR
32c24cf712SMichal Simek	hex "Physical address where Linux Kernel is"
33c24cf712SMichal Simek	default "0x90000000"
34c24cf712SMichal Simek	help
35c24cf712SMichal Simek	  BASE Address for kernel
36c24cf712SMichal Simek
37c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_FAMILY
38c24cf712SMichal Simek	string "Targeted FPGA family"
39c24cf712SMichal Simek	default "virtex5"
40c24cf712SMichal Simek
41c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_MSR_INSTR
42c24cf712SMichal Simek	int "USE_MSR_INSTR range (0:1)"
43c24cf712SMichal Simek	default 0
44c24cf712SMichal Simek
45c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_PCMP_INSTR
46c24cf712SMichal Simek	int "USE_PCMP_INSTR range (0:1)"
47c24cf712SMichal Simek	default 0
48c24cf712SMichal Simek
49c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_BARREL
50c24cf712SMichal Simek	int "USE_BARREL range (0:1)"
51c24cf712SMichal Simek	default 0
52c24cf712SMichal Simek
53c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_DIV
54c24cf712SMichal Simek	int "USE_DIV range (0:1)"
55c24cf712SMichal Simek	default 0
56c24cf712SMichal Simek
57c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_HW_MUL
58c24cf712SMichal Simek	int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
59c24cf712SMichal Simek	default 0
60c24cf712SMichal Simek
61c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_FPU
62c24cf712SMichal Simek	int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)"
63c24cf712SMichal Simek	default 0
64c24cf712SMichal Simek
65c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_HW_VER
66c24cf712SMichal Simek	string "Core version number"
67c24cf712SMichal Simek	default 7.10.d
68c24cf712SMichal Simek
69c24cf712SMichal Simekendmenu
70