blob: 7795f90dad8680ccb36ea95047bc2e03988cabe2 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Michal Simek575ca282009-03-27 14:25:50 +01002# For a description of the syntax of this configuration file,
Mauro Carvalho Chehabcd238ef2019-06-12 14:52:48 -03003# see Documentation/kbuild/kconfig-language.rst.
Michal Simek575ca282009-03-27 14:25:50 +01004#
5# Platform selection Kconfig menu for MicroBlaze targets
6#
7
8menu "Platform options"
Michal Simek575ca282009-03-27 14:25:50 +01009
Michal Simek575ca282009-03-27 14:25:50 +010010config OPT_LIB_FUNCTION
11 bool "Optimalized lib function"
12 default y
13 help
14 Allows turn on optimalized library function (memcpy and memmove).
15 They are optimized by using word alignment. This will work
16 fine if both source and destination are aligned on the same
17 boundary. However, if they are aligned on different boundaries
18 shifts will be necessary. This might result in bad performance
19 on MicroBlaze systems without a barrel shifter.
20
21config OPT_LIB_ASM
22 bool "Optimalized lib function ASM"
Michal Simek27d2a3e2009-10-26 09:56:48 +010023 depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
Michal Simek18ffc0c2018-02-22 15:19:37 +010024 depends on CPU_BIG_ENDIAN
Michal Simek575ca282009-03-27 14:25:50 +010025 default n
26 help
27 Allows turn on optimalized library function (memcpy and memmove).
28 Function are written in asm code.
29
Michal Simeked85ed62014-04-07 13:03:24 +020030# Definitions for MICROBLAZE0
31comment "Definitions for MICROBLAZE0"
32
33config KERNEL_BASE_ADDR
34 hex "Physical address where Linux Kernel is"
35 default "0x90000000"
36 help
37 BASE Address for kernel
38
39config XILINX_MICROBLAZE0_FAMILY
40 string "Targeted FPGA family"
41 default "virtex5"
42
43config XILINX_MICROBLAZE0_USE_MSR_INSTR
44 int "USE_MSR_INSTR range (0:1)"
45 default 0
46
47config XILINX_MICROBLAZE0_USE_PCMP_INSTR
48 int "USE_PCMP_INSTR range (0:1)"
49 default 0
50
51config XILINX_MICROBLAZE0_USE_BARREL
52 int "USE_BARREL range (0:1)"
53 default 0
54
55config XILINX_MICROBLAZE0_USE_DIV
56 int "USE_DIV range (0:1)"
57 default 0
58
59config XILINX_MICROBLAZE0_USE_HW_MUL
60 int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
61 default 0
62
63config XILINX_MICROBLAZE0_USE_FPU
64 int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)"
65 default 0
66
67config XILINX_MICROBLAZE0_HW_VER
68 string "Core version number"
Masahiro Yamada48547bd2018-12-11 20:01:03 +090069 default "7.10.d"
Michal Simek575ca282009-03-27 14:25:50 +010070
71endmenu