bios/sdram: switch to updated CSR accessors, and misc. cleanup
authorGabriel Somlo <gsomlo@gmail.com>
Sun, 12 Jan 2020 00:38:15 +0000 (19:38 -0500)
committerGabriel Somlo <gsomlo@gmail.com>
Mon, 13 Jan 2020 15:09:02 +0000 (10:09 -0500)
commitb073ebadf6db467d575f841902c1a5f518fa045a
treeeab50d5f98fc48a89dc106c28f6c81e8c2bb41dc
parent2c393041105e9b10ef8bfcc97eb83027f23c1107
bios/sdram: switch to updated CSR accessors, and misc. cleanup

Revert to treating SDRAM_DFII_PIX_[RD|WR]DATA CSRs as arrays
of bytes, but use the new uintX_t array accessors for improved
legibility, and to avoid unnecessary byteswapping.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/bios/sdram.c