diff options
Diffstat (limited to 'firmware/target/arm/imx233/dma-imx233.h')
-rw-r--r-- | firmware/target/arm/imx233/dma-imx233.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/dma-imx233.h b/firmware/target/arm/imx233/dma-imx233.h index bb88a746d0..c0727a51e1 100644 --- a/firmware/target/arm/imx233/dma-imx233.h +++ b/firmware/target/arm/imx233/dma-imx233.h | |||
@@ -152,6 +152,9 @@ struct apb_dma_command_t | |||
152 | #define HW_APB_CHx_SEMA__PHORE_BM 0xff0000 | 152 | #define HW_APB_CHx_SEMA__PHORE_BM 0xff0000 |
153 | #define HW_APB_CHx_SEMA__PHORE_BP 16 | 153 | #define HW_APB_CHx_SEMA__PHORE_BP 16 |
154 | 154 | ||
155 | /* A single descriptor cannot transfer more than 2^16 bytes */ | ||
156 | #define IMX233_MAX_SINGLE_DMA_XFER_SIZE (1 << 16) | ||
157 | |||
155 | void imx233_dma_init(void); | 158 | void imx233_dma_init(void); |
156 | void imx233_dma_reset_channel(unsigned chan); | 159 | void imx233_dma_reset_channel(unsigned chan); |
157 | /* only apbh channel have clkgate control */ | 160 | /* only apbh channel have clkgate control */ |