ARM: imx: armadillo5x0: Fix illegal register access
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 17 Sep 2012 01:28:35 +0000 (22:28 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 18 Sep 2012 14:46:24 +0000 (16:46 +0200)
commit35495173e1df621dff0e9a244accbe32cd28a98f
tree29b3451afa54bc5cc54dd5d98ccc4621857eb887
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
ARM: imx: armadillo5x0: Fix illegal register access

Since commit eb92044eb (ARM i.MX3: Make ccm base address a variable )
it is necessary to pass the CCM register base as a variable.

Fix the CCM register access in mach-armadillo5x0 by passing mx3_ccm_base and
avoid illegal accesses.

Also applies to v3.5

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: stable@vger.kernel.org
arch/arm/mach-imx/mach-armadillo5x0.c