blob: f7f1739c11b9fef091b1176c0120c4613232cfeb [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"
Michal Simek575ca282009-03-27 14:25:50 +01008
Michal Simek575ca282009-03-27 14:25:50 +01009config OPT_LIB_FUNCTION
10 bool "Optimalized lib function"
11 default y
12 help
13 Allows turn on optimalized library function (memcpy and memmove).
14 They are optimized by using word alignment. This will work
15 fine if both source and destination are aligned on the same
16 boundary. However, if they are aligned on different boundaries
17 shifts will be necessary. This might result in bad performance
18 on MicroBlaze systems without a barrel shifter.
19
20config OPT_LIB_ASM
21 bool "Optimalized lib function ASM"
Michal Simek27d2a3e2009-10-26 09:56:48 +010022 depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
Michal Simek18ffc0c2018-02-22 15:19:37 +010023 depends on CPU_BIG_ENDIAN
Michal Simek575ca282009-03-27 14:25:50 +010024 default n
25 help
26 Allows turn on optimalized library function (memcpy and memmove).
27 Function are written in asm code.
28
Michal Simeked85ed62014-04-07 13:03:24 +020029# Definitions for MICROBLAZE0
30comment "Definitions for MICROBLAZE0"
31
32config KERNEL_BASE_ADDR
33 hex "Physical address where Linux Kernel is"
34 default "0x90000000"
35 help
36 BASE Address for kernel
37
38config XILINX_MICROBLAZE0_FAMILY
39 string "Targeted FPGA family"
40 default "virtex5"
41
42config XILINX_MICROBLAZE0_USE_MSR_INSTR
43 int "USE_MSR_INSTR range (0:1)"
44 default 0
45
46config XILINX_MICROBLAZE0_USE_PCMP_INSTR
47 int "USE_PCMP_INSTR range (0:1)"
48 default 0
49
50config XILINX_MICROBLAZE0_USE_BARREL
51 int "USE_BARREL range (0:1)"
52 default 0
53
54config XILINX_MICROBLAZE0_USE_DIV
55 int "USE_DIV range (0:1)"
56 default 0
57
58config XILINX_MICROBLAZE0_USE_HW_MUL
59 int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
60 default 0
61
62config XILINX_MICROBLAZE0_USE_FPU
63 int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)"
64 default 0
65
66config XILINX_MICROBLAZE0_HW_VER
67 string "Core version number"
68 default 7.10.d
Michal Simek575ca282009-03-27 14:25:50 +010069
70endmenu