]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx5: use dynamic mapping for Cortex and GPC block
authorShawn Guo <shawn.guo@freescale.com>
Tue, 20 May 2014 06:55:15 +0000 (14:55 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 3 Jun 2014 07:37:13 +0000 (15:37 +0800)
commitf6c747757a3d8eb7b8806425658eae2035c816b6
treee31e2720720d8816a2f5fb29106336248e7f8a37
parentde7e6e635c0ed983090fbd4be644f8dad2f60d13
ARM: imx5: use dynamic mapping for Cortex and GPC block

The imx5 pm code uses static mapping to access Cortex and GPC registers.
The patch create struct imx5_pm_data to encode physical address of
Cortex and GPC block, and create dynamic mapping for them at run-time.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/mm-imx5.c
arch/arm/mach-imx/pm-imx5.c