diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-15 21:57:47 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-26 22:57:05 +0100 |
commit | 72b195cb716284217e8b270af420bc7e5cf04b3c (patch) | |
tree | 109b7d12cc9629e61948a49fc7bf710033e26342 /arch/arm/plat-pxa | |
parent | dmaengine: mmp-pdma: add number of requestors (diff) | |
download | linux-72b195cb716284217e8b270af420bc7e5cf04b3c.tar.xz linux-72b195cb716284217e8b270af420bc7e5cf04b3c.zip |
ARM: pxa: add the number of DMA requestor lines
Declare the number of DMA requestor lines per platform :
- for pxa25x: 40 requestor lines
- for pxa27x: 75 requestor lines
- for pxa3xx: 100 requestor lines
This information will be used to activate the DMA flow control or not.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/plat-pxa')
-rw-r--r-- | arch/arm/plat-pxa/include/plat/dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-pxa/include/plat/dma.h b/arch/arm/plat-pxa/include/plat/dma.h index 28848b344e2d..ceba3e4184fc 100644 --- a/arch/arm/plat-pxa/include/plat/dma.h +++ b/arch/arm/plat-pxa/include/plat/dma.h @@ -95,6 +95,6 @@ static inline int pxad_toggle_reserved_channel(int legacy_channel) } #endif -extern void __init pxa2xx_set_dmac_info(int nb_channels); +extern void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors); #endif /* __PLAT_DMA_H */ |