mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Since upstream LiteX recommends that Linux support be limited to designs configured with 32-bit CSR subregisters (see commit a2b71fde in upstream LiteX, https://github.com/enjoy-digital/litex), remove the option to select 8-bit subregisters, significantly reducing the complexity of LiteX CSR (MMIO register) accessor methods. NOTE: for details on the underlying mechanics of LiteX CSR registers, see https://github.com/enjoy-digital/litex/wiki/CSR-Bus or the original LiteX accessors (litex/soc/software/include/hw/common.h in the upstream repository). Signed-off-by: Gabriel Somlo <[email protected]> Cc: Stafford Horne <[email protected]> Cc: Florent Kermarrec <[email protected]> Cc: Mateusz Holenko <[email protected]> Cc: Joel Stanley <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
21 lines
473 B
Plaintext
21 lines
473 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
|
|
depends on HAS_IOMEM
|
|
select LITEX
|
|
help
|
|
This option enables the SoC Controller Driver which verifies
|
|
LiteX CSR access and provides common litex_[read|write]*
|
|
accessors.
|
|
All drivers that use functions from litex.h must depend on
|
|
LITEX.
|
|
|
|
endmenu
|