cores/dma, liblitesdcard/sdcard: use 64 bits for dma base address
authorGabriel Somlo <gsomlo@gmail.com>
Mon, 6 Jul 2020 13:07:25 +0000 (09:07 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Mon, 10 Aug 2020 18:09:25 +0000 (14:09 -0400)
commitba34c8528437a6ecc2c1c4b5f15488cb1d4d39fa
treeeeb837f1c2ab009dc625012c0c0a0443dc945f9d
parent4cf28a010706365af86688f9b15096aeb28287c9
cores/dma, liblitesdcard/sdcard: use 64 bits for dma base address

Make the DMA base address register 64-bit wide, to cover situations
in which the physical memory being accessed is above the 4GB limit
(e.g., on 64-bit systems with more than 4GB of provisioned physical
memory).

Also update DMA reader/writer setup call sites in the bios (currently
only used by litesdcard).

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/cores/dma.py
litex/soc/software/liblitesdcard/sdcard.c