ARM: mx51/sdma: Check the chip revision in run-time
authorFabio Estevam <festevam@gmail.com>
Sat, 28 May 2011 19:05:08 +0000 (16:05 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 6 Jun 2011 07:50:04 +0000 (09:50 +0200)
commit5f85e931278ff80aa3ea7861a73a6c6ce940f2e9
tree4306b5a86c5b23563bc1bf92552779dfdf87f69c
parentad377c630864e2609c54385907493dbf68a34295
ARM: mx51/sdma: Check the chip revision in run-time

Check the MX51 chip revision in run-time so that the correct SDMA firmware can
be loaded.

While at it also remove the silicon revision from the sdma_script_start_addrs
structure name for MX51. All the MX51 revisions share the same SDMA start addresses.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/devices/platform-imx-dma.c