summaryrefslogtreecommitdiff
path: root/drivers/soc/litex/Kconfig
blob: 7a7c38282e114cdc85fb9ee109aade42baf15f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License_Identifier: GPL-2.0

menu "Enable LiteX SoC Builder specific drivers"

config LITEX
	bool

config LITEX_SOC_CONTROLLER
	tristate "Enable LiteX SoC Controller driver"
	depends on OF || COMPILE_TEST
	depends on HAS_IOMEM
	select LITEX
	help
	  This option enables the SoC Controller Driver which verifies
	  LiteX CSR access and provides common litex_get_reg/litex_set_reg
	  accessors.
	  All drivers that use functions from litex.h must depend on
	  LITEX.

endmenu