]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/soc/litex: remove 8-bit subregister option
authorGabriel Somlo <gsomlo@gmail.com>
Wed, 26 May 2021 10:51:26 +0000 (06:51 -0400)
committerStafford Horne <shorne@gmail.com>
Thu, 10 Jun 2021 19:35:40 +0000 (04:35 +0900)
commit566a4c87c5bb08fb4fe45a765747d739dc872c46
tree70ccb051e4d94c05d64690be0a498aea6afbd306
parentc54d307ae8ea340d52d8a28b01227b3c31a41c0e
drivers/soc/litex: remove 8-bit subregister option

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 <gsomlo@gmail.com>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Florent Kermarrec <florent@enjoy-digital.fr>
Cc: Mateusz Holenko <mholenko@antmicro.com>
Cc: Joel Stanley <joel@jms.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stafford Horne <shorne@gmail.com>
drivers/soc/litex/Kconfig
drivers/soc/litex/litex_soc_ctrl.c
include/linux/litex.h