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)
commitad4e600cbf897f47525b342cd4b02e88ed300a83
tree70ccb051e4d94c05d64690be0a498aea6afbd306
parent614124bea77e452aa6df7a8714e8bc820b489922
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