[media] media: coda: fix IRAM/AXI handling for i.MX53
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 2 Jul 2012 12:03:55 +0000 (09:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 19:29:37 +0000 (16:29 -0300)
commit1043667b1763feac06654c9bf7263b215df2c893
tree6a23e1ce991d4a5953952bcf19d2c176446575a2
parentdf1e74cc04dbc0d2fada237333b91e167b09dd30
[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>
drivers/media/platform/Kconfig
drivers/media/platform/coda.c
drivers/media/platform/coda.h