mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-10 07:44:23 +08:00
22447a99c9
This commit adds driver for the FPGA-based LiteX SoC Controller from LiteX SoC builder. Co-developed-by: Mateusz Holenko <mholenko@antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com> Signed-off-by: Pawel Czarnecki <pczarnecki@internships.antmicro.com> Signed-off-by: Stafford Horne <shorne@gmail.com>
20 lines
459 B
Plaintext
20 lines
459 B
Plaintext
# 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
|
|
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
|