summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXuzhou Cheng2021-03-03 14:52:54 +0100
committerPeter Maydell2021-03-10 14:54:51 +0100
commitd6bafaf45c5ff31ad7d7d87c3c3d37ae675684cc (patch)
tree11d351da4584db126b023c018a58a85263ffa741 /include
parenthw/ssi: xilinx_spips: Clean up coding convention issues (diff)
downloadqemu-d6bafaf45c5ff31ad7d7d87c3c3d37ae675684cc.tar.gz
qemu-d6bafaf45c5ff31ad7d7d87c3c3d37ae675684cc.tar.xz
qemu-d6bafaf45c5ff31ad7d7d87c3c3d37ae675684cc.zip
hw/ssi: xilinx_spips: Remove DMA related dead codes from zynqmp_spips
Now that the Xilinx CSU DMA model is implemented, the existing DMA related dead codes in the ZynqMP QSPI are useless and should be removed. The maximum register number is also updated to only include the QSPI registers. Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com> Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 20210303135254.3970-6-bmeng.cn@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ssi/xilinx_spips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ssi/xilinx_spips.h b/include/hw/ssi/xilinx_spips.h
index 3eae73480e..06bfd18312 100644
--- a/include/hw/ssi/xilinx_spips.h
+++ b/include/hw/ssi/xilinx_spips.h
@@ -34,7 +34,7 @@
typedef struct XilinxSPIPS XilinxSPIPS;
#define XLNX_SPIPS_R_MAX (0x100 / 4)
-#define XLNX_ZYNQMP_SPIPS_R_MAX (0x830 / 4)
+#define XLNX_ZYNQMP_SPIPS_R_MAX (0x200 / 4)
/* Bite off 4k chunks at a time */
#define LQSPI_CACHE_SIZE 1024