diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-05-20 08:55:15 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 10:10:09 +0200 |
commit | 36b66c3fc20ad9a50ae7f19b3c807c68259753df (patch) | |
tree | eb47f70f7ca833acf1fa73d2b1b20c588fdb1a4e /arch/arm/mach-imx/mm-imx5.c | |
parent | ARM: imx5: reuse clock CCM mapping in pm code (diff) | |
download | linux-36b66c3fc20ad9a50ae7f19b3c807c68259753df.tar.xz linux-36b66c3fc20ad9a50ae7f19b3c807c68259753df.zip |
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>
Diffstat (limited to 'arch/arm/mach-imx/mm-imx5.c')
-rw-r--r-- | arch/arm/mach-imx/mm-imx5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c index 771ab3645621..9e43e879bac5 100644 --- a/arch/arm/mach-imx/mm-imx5.c +++ b/arch/arm/mach-imx/mm-imx5.c @@ -96,10 +96,10 @@ void __init imx53_init_early(void) void __init imx51_init_late(void) { mx51_neon_fixup(); - imx5_pm_init(); + imx51_pm_init(); } void __init imx53_init_late(void) { - imx5_pm_init(); + imx53_pm_init(); } |