]> 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, 17 Jun 2014 13:14:24 +0000 (21:14 +0800)
commit26b3d124a38e1f5ba8bd90642aadecad403d34a8
tree9dfe7d6bdb8afd47c10ca4d4bc15665042c766b6
parentdb6437c5f04ec39e03396f6efa95e7dcd1db4f91
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