]> git.hungrycats.org Git - linux/commit
ARM: imx: armadillo5x0: Fix illegal register access
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 17 Sep 2012 01:28:35 +0000 (22:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:24 +0000 (10:39 -0700)
commitdd2b53aed0496eca6f309ed39502a0dddf1a05ef
tree684c1db39fd9bc40dde97cd4ff2a4a6b1d750f53
parentc13bdc66baf034b40cac9d7637dbff48783e012d
ARM: imx: armadillo5x0: Fix illegal register access

commit 35495173e1df621dff0e9a244accbe32cd28a98f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-imx/mach-armadillo5x0.c