net: cadence_gem: Add support for selecting the DMA MemoryRegion
commit84aec8efd62052f6aeda570b328bc3ac484a1d30
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 11 Oct 2018 02:19:25 +0000 (11 04:19 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Oct 2018 16:13:49 +0000 (16 17:13 +0100)
treeb4775e56543f155e70fe838e3c6fba6a3614501b
parente48fdd9d90423d1530b49bbd61b4bbcb49198b33
net: cadence_gem: Add support for selecting the DMA MemoryRegion

Add support for selecting the Memory Region that the GEM
will do DMA to.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20181011021931.4249-7-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c
include/hw/net/cadence_gem.h