xref: /linux/arch/riscv/Kconfig.vendor (revision ba6ec09911b805778a2fed6d626bfe77b011a717)
1menu "Vendor extensions"
2
3config RISCV_ISA_VENDOR_EXT
4	bool
5
6menu "Andes"
7config RISCV_ISA_VENDOR_EXT_ANDES
8	bool "Andes vendor extension support"
9	select RISCV_ISA_VENDOR_EXT
10	default y
11	help
12	  Say N here if you want to disable all Andes vendor extension
13	  support. This will cause any Andes vendor extensions that are
14	  requested by hardware probing to be ignored.
15
16	  If you don't know what to do here, say Y.
17endmenu
18
19menu "T-Head"
20config RISCV_ISA_VENDOR_EXT_THEAD
21	bool "T-Head vendor extension support"
22	select RISCV_ISA_VENDOR_EXT
23	default y
24	help
25	  Say N here to disable detection of and support for all T-Head vendor
26	  extensions. Without this option enabled, T-Head vendor extensions will
27	  not be detected at boot and their presence not reported to userspace.
28
29	  If you don't know what to do here, say Y.
30
31config RISCV_ISA_XTHEADVECTOR
32	bool "xtheadvector extension support"
33	depends on RISCV_ISA_VENDOR_EXT_THEAD
34	depends on RISCV_ISA_V
35	depends on FPU
36	default y
37	help
38	  Say N here if you want to disable all xtheadvector related procedures
39	  in the kernel. This will disable vector for any T-Head board that
40	  contains xtheadvector rather than the standard vector.
41
42	  If you don't know what to do here, say Y.
43endmenu
44
45endmenu
46