xref: /openbmc/linux/drivers/soc/litex/Kconfig (revision 762f99f4f3cb41a775b5157dd761217beba65873)
122447a99SPawel Czarnecki# SPDX-License_Identifier: GPL-2.0
222447a99SPawel Czarnecki
322447a99SPawel Czarneckimenu "Enable LiteX SoC Builder specific drivers"
422447a99SPawel Czarnecki
522447a99SPawel Czarneckiconfig LITEX
622447a99SPawel Czarnecki	bool
722447a99SPawel Czarnecki
822447a99SPawel Czarneckiconfig LITEX_SOC_CONTROLLER
922447a99SPawel Czarnecki	tristate "Enable LiteX SoC Controller driver"
1022447a99SPawel Czarnecki	depends on OF || COMPILE_TEST
11*1bea2a93SDavid Gow	depends on HAS_IOMEM
1222447a99SPawel Czarnecki	select LITEX
1322447a99SPawel Czarnecki	help
1422447a99SPawel Czarnecki	  This option enables the SoC Controller Driver which verifies
154f70d150SGabriel Somlo	  LiteX CSR access and provides common litex_[read|write]*
1622447a99SPawel Czarnecki	  accessors.
1722447a99SPawel Czarnecki	  All drivers that use functions from litex.h must depend on
1822447a99SPawel Czarnecki	  LITEX.
1922447a99SPawel Czarnecki
2022447a99SPawel Czarneckiendmenu
21