2020-10-13 14:45:52 +00:00
|
|
|
# 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
|
2021-01-27 03:36:04 +00:00
|
|
|
depends on HAS_IOMEM
|
2020-10-13 14:45:52 +00:00
|
|
|
select LITEX
|
|
|
|
help
|
|
|
|
This option enables the SoC Controller Driver which verifies
|
2021-01-12 17:31:44 +00:00
|
|
|
LiteX CSR access and provides common litex_[read|write]*
|
2020-10-13 14:45:52 +00:00
|
|
|
accessors.
|
|
|
|
All drivers that use functions from litex.h must depend on
|
|
|
|
LITEX.
|
|
|
|
|
|
|
|
endmenu
|