xref: /linux/arch/microblaze/Kconfig.platform (revision 48547bd23d0eeb2cf3a63ed588b46236eac5f2c3)
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)
2318ffc0ccSMichal Simek	depends on CPU_BIG_ENDIAN
24c24cf712SMichal Simek	default n
25c24cf712SMichal Simek	help
26c24cf712SMichal Simek	  Allows turn on optimalized library function (memcpy and memmove).
27c24cf712SMichal Simek	  Function are written in asm code.
28c24cf712SMichal Simek
29c24cf712SMichal Simek# Definitions for MICROBLAZE0
30c24cf712SMichal Simekcomment "Definitions for MICROBLAZE0"
31c24cf712SMichal Simek
32c24cf712SMichal Simekconfig KERNEL_BASE_ADDR
33c24cf712SMichal Simek	hex "Physical address where Linux Kernel is"
34c24cf712SMichal Simek	default "0x90000000"
35c24cf712SMichal Simek	help
36c24cf712SMichal Simek	  BASE Address for kernel
37c24cf712SMichal Simek
38c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_FAMILY
39c24cf712SMichal Simek	string "Targeted FPGA family"
40c24cf712SMichal Simek	default "virtex5"
41c24cf712SMichal Simek
42c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_MSR_INSTR
43c24cf712SMichal Simek	int "USE_MSR_INSTR range (0:1)"
44c24cf712SMichal Simek	default 0
45c24cf712SMichal Simek
46c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_PCMP_INSTR
47c24cf712SMichal Simek	int "USE_PCMP_INSTR range (0:1)"
48c24cf712SMichal Simek	default 0
49c24cf712SMichal Simek
50c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_BARREL
51c24cf712SMichal Simek	int "USE_BARREL range (0:1)"
52c24cf712SMichal Simek	default 0
53c24cf712SMichal Simek
54c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_DIV
55c24cf712SMichal Simek	int "USE_DIV range (0:1)"
56c24cf712SMichal Simek	default 0
57c24cf712SMichal Simek
58c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_HW_MUL
59c24cf712SMichal Simek	int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
60c24cf712SMichal Simek	default 0
61c24cf712SMichal Simek
62c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_USE_FPU
63c24cf712SMichal Simek	int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)"
64c24cf712SMichal Simek	default 0
65c24cf712SMichal Simek
66c24cf712SMichal Simekconfig XILINX_MICROBLAZE0_HW_VER
67c24cf712SMichal Simek	string "Core version number"
68*48547bd2SMasahiro Yamada	default "7.10.d"
69c24cf712SMichal Simek
70c24cf712SMichal Simekendmenu
71