summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2026-06-21 17:08:53 +0800
committerGitHub <[email protected]>2026-06-21 17:08:53 +0800
commit7071ba35cb7446565059b13faaa3324da6f5eb17 (patch)
tree90eb6434bdedfa40b08fd41f5d064975ee65039e /components
parentc632885c19a905f46a7b23b95f2ca1c6ca0e4e44 (diff)
[bsp/rockchip]Add CI compilation checks for RK3500 BSP.
Diffstat (limited to 'components')
-rw-r--r--components/drivers/dma/dma-pl330.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/components/drivers/dma/dma-pl330.c b/components/drivers/dma/dma-pl330.c
index b0f4bbaa10..8fa207a94d 100644
--- a/components/drivers/dma/dma-pl330.c
+++ b/components/drivers/dma/dma-pl330.c
@@ -212,6 +212,27 @@
/** @brief Microcode instruction: write memory barrier */
#define PL330_CMD_DMAWMB 0x13
+/** @brief Microcode instruction sizes */
+#define PL330_SIZE_DMAADDH 3
+#define PL330_SIZE_DMAEND 1
+#define PL330_SIZE_DMAFLUSHP 2
+#define PL330_SIZE_DMALD 1
+#define PL330_SIZE_DMALDP 2
+#define PL330_SIZE_DMALP 2
+#define PL330_SIZE_DMALPEND 2
+#define PL330_SIZE_DMAKILL 1
+#define PL330_SIZE_DMAMOV 6
+#define PL330_SIZE_DMANOP 1
+#define PL330_SIZE_DMARMB 1
+#define PL330_SIZE_DMASEV 2
+#define PL330_SIZE_DMAST 1
+#define PL330_SIZE_DMASTP 2
+#define PL330_SIZE_DMASTZ 1
+#define PL330_SIZE_DMAWFE 2
+#define PL330_SIZE_DMAWFP 2
+#define PL330_SIZE_DMAWMB 1
+#define PL330_SIZE_DMAGO 6
+
/** @brief DMAMOV to Source Address Register */
#define PL330_DIR_SAR 0
/** @brief DMAMOV to Channel Control Register */