]> 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>
Thu, 22 May 2014 01:01:56 +0000 (09:01 +0800)
commit23b9733005551f1c09432ad749da3f4b2aa9e29c
tree7a9e32dda686128031df9eb5ad0e68d745002c6f
parentc3d5269abd002a103d1053af8b99faa9112724ef
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