diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2012-07-02 08:03:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-26 15:29:37 -0400 |
commit | 1043667b1763feac06654c9bf7263b215df2c893 (patch) | |
tree | 6a23e1ce991d4a5953952bcf19d2c176446575a2 /drivers/media/platform/Kconfig | |
parent | df1e74cc04dbc0d2fada237333b91e167b09dd30 (diff) |
[media] media: coda: fix IRAM/AXI handling for i.MX53
This uses the ARCH_MXC specific iram_alloc API to allocate a work
buffer in the SoC's on-chip SRAM and sets up the AXI_SRAM_USE
register. In the future, the allocation will be converted to use
the genalloc API.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/Kconfig')
-rw-r--r-- | drivers/media/platform/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 682594e43178..f588d6296c76 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig | |||
@@ -130,9 +130,10 @@ if V4L_MEM2MEM_DRIVERS | |||
130 | 130 | ||
131 | config VIDEO_CODA | 131 | config VIDEO_CODA |
132 | tristate "Chips&Media Coda multi-standard codec IP" | 132 | tristate "Chips&Media Coda multi-standard codec IP" |
133 | depends on VIDEO_DEV && VIDEO_V4L2 | 133 | depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC |
134 | select VIDEOBUF2_DMA_CONTIG | 134 | select VIDEOBUF2_DMA_CONTIG |
135 | select V4L2_MEM2MEM_DEV | 135 | select V4L2_MEM2MEM_DEV |
136 | select IRAM_ALLOC if SOC_IMX53 | ||
136 | ---help--- | 137 | ---help--- |
137 | Coda is a range of video codec IPs that supports | 138 | Coda is a range of video codec IPs that supports |
138 | H.264, MPEG-4, and other video formats. | 139 | H.264, MPEG-4, and other video formats. |