csr: fix simple accessor alignment
authorGabriel Somlo <gsomlo@gmail.com>
Fri, 29 May 2020 15:54:10 +0000 (11:54 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Fri, 29 May 2020 16:03:05 +0000 (12:03 -0400)
commit3e1b17d459c1966dd561ad5262a7cb9299575191
treedb5506e7b33b028cdab1b1813efd5cdb0b615225
parent9e068a7494dc680a3b77ede000ee243e49364089
csr: fix simple accessor alignment

MMPTR should always follow CSR alignment, NOT CSR data width.
(the latter merely indicates how many bits within a MMPTR are
actually populated).

Fixup for commit #4a5072a.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/include/hw/common.h