OSDN Git Service

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>
Fri, 18 Jul 2014 08:10:09 +0000 (16:10 +0800)
commit36b66c3fc20ad9a50ae7f19b3c807c68259753df
treeeb47f70f7ca833acf1fa73d2b1b20c588fdb1a4e
parent4ef5e3870113c5caab22d4363d882b372f2c6b57
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