[media] media: coda: firmware loading for 64-bit AXI bus width
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 2 Jul 2012 10:03:43 +0000 (07:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 19:24:53 +0000 (16:24 -0300)
commit87048bb465950685f807fc5922ceeec689755f9c
tree38b679d3b5e0a307ef1d4843f25909d1eb86832a
parentc3aac8be4f2b51bb44fdb1713e25690866cace21
[media] media: coda: firmware loading for 64-bit AXI bus width

Add support for loading a raw firmware with 16-bit chars ordered in
little-endian 64-bit words, corresponding to the memory access pattern
of CODA7 and above: When writing the boot code into the code download
register, the chars have to be reordered back.

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/coda.c