aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNarayanan G <narayanan.gopalakrishnan@stericsson.com>2011-11-22 03:26:55 -0500
committerVinod Koul <vinod.koul@linux.intel.com>2011-11-27 22:30:08 -0500
commit28c7a19d230228ab9ae61c300c5003a2400fadd3 (patch)
treed66f1e8a74528afc4226df129dcaf5f3abb97f1d /arch
parentd5613947addb1e1096a3be29dfe817905e385469 (diff)
dmaengine/ste_dma40: Add support to use lcla area from esram
This patch provides an option of having the lcla (link address) in ESRAM instead of allocating it. The bool value (use_esram_lcla) in the stedma40_platform_data if set to true, then the lcla address would be taken from platform resources. Also, the corresponding esram regulator is managed in the suspend/resume functions. Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-nomadik/include/plat/ste_dma40.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h
index 38b041a40db4..3177bed253df 100644
--- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h
+++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h
@@ -153,6 +153,7 @@ struct stedma40_platform_data {
153 struct stedma40_chan_cfg *memcpy_conf_phy; 153 struct stedma40_chan_cfg *memcpy_conf_phy;
154 struct stedma40_chan_cfg *memcpy_conf_log; 154 struct stedma40_chan_cfg *memcpy_conf_log;
155 int disabled_channels[STEDMA40_MAX_PHYS]; 155 int disabled_channels[STEDMA40_MAX_PHYS];
156 bool use_esram_lcla;
156}; 157};
157 158
158#ifdef CONFIG_STE_DMA40 159#ifdef CONFIG_STE_DMA40