blob: 117b476f3f4133487f87c1748cf1d963bbf5be7d [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001if TARGET_MICROBLAZE_GENERIC
2
3config SYS_BOARD
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09004 default "microblaze-generic"
5
6config SYS_VENDOR
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09007 default "xilinx"
8
9config SYS_CONFIG_NAME
Sai Pavan Boddu12a112a2016-08-16 17:12:05 +053010 string "Board configuration name"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090011 default "microblaze-generic"
Sai Pavan Boddu12a112a2016-08-16 17:12:05 +053012 help
13 This option contains information about board configuration name.
14 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
15 will be used for board configuration.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090016
Michal Simek731e0f92016-05-24 11:45:11 +020017config XILINX_MICROBLAZE0_USE_MSR_INSTR
18 int "USE_MSR_INSTR range (0:1)"
19 default 0
20
Michal Simek766eeb52016-05-24 11:42:26 +020021config XILINX_MICROBLAZE0_USE_PCMP_INSTR
22 int "USE_PCMP_INSTR range (0:1)"
23 default 0
24
25config XILINX_MICROBLAZE0_USE_BARREL
26 int "USE_BARREL range (0:1)"
27 default 0
28
29config XILINX_MICROBLAZE0_USE_DIV
30 int "USE_DIV range (0:1)"
31 default 0
32
33config XILINX_MICROBLAZE0_USE_HW_MUL
34 int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
35 default 0
36
Michal Simek4af17742016-05-24 13:23:59 +020037config XILINX_MICROBLAZE0_HW_VER
38 string "Core version number"
Michal Simekc24a3d52018-07-23 08:34:43 +020039 default "7.10.d"
Michal Simek4af17742016-05-24 13:23:59 +020040
Ovidiu Panait39415f72021-11-30 18:33:54 +020041config XILINX_MICROBLAZE0_USR_EXCEP
42 bool "MicroBlaze user exception support"
43 default y
44 help
45 Enable this option in order to install the user exception handler
46 (_exception_handler routine from arch/microblaze/cpu/exception.c) in
47 the exception vector table. The user exception vector is located at
48 C_BASE_VECTORS + 0x8 address.
49
Ovidiu Panait866ead92022-02-13 10:09:20 +020050config XILINX_MICROBLAZE0_DELAY_SLOT_EXCEP
51 bool "MicroBlaze delay slot exception support"
52 default y
53 help
54 Enable this option if the MicroBlaze processor supports exceptions
55 caused by delay slot instructions (processor version >= v5.00). When
56 enabled, the hw exception handler will print a message indicating
57 whether the exception was triggered by a delay slot instruction.
58
Ovidiu Panait6025cb52021-11-30 18:33:55 +020059config XILINX_MICROBLAZE0_VECTOR_BASE_ADDR
60 hex "Location of MicroBlaze vectors"
61 default 0x0
62 help
63 Memory address location of the exception vector table. It is
64 configurable via the C_BASE_VECTORS hdl parameter.
65
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090066endif