diff options
author | Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com> | 2014-06-09 12:39:03 -0400 |
---|---|---|
committer | Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com> | 2014-06-12 12:11:09 -0400 |
commit | aeef94f69230196db01b4f600cbd56f721f100a5 (patch) | |
tree | d4960548b2636f365f421424cfac906430be003c /arch/arm/mach-imx/mach-imx6sl.c | |
parent | 8d5b4cfe4f781216606e13d23b7e2ccd8de586cc (diff) |
ENGR00317542-1 ARM:imx6x: Dynamically calculate the size of low power mode code.
This patch adds support for dynamically calculating the size of all
low power code (suspend, ddr freq change and low power idle). This allows
for easy code changes in the future.
This patch also moves the DDR frequency change code from lower 8K of the memory
allocated for IRAM page table to regular IRAM. With this the lower 8K of the
IRAM page table only contains suspend/resume and low power IDLE code. This
gives a little more flexibility to the cdoe size for suspend/resume and low
power IDLE.
Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6sl.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6sl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6sl.c b/arch/arm/mach-imx/mach-imx6sl.c index 78090b430dd7..283031d28aa8 100644 --- a/arch/arm/mach-imx/mach-imx6sl.c +++ b/arch/arm/mach-imx/mach-imx6sl.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2013 Freescale Semiconductor, Inc. | 2 | * Copyright (C) 2013-2014 Freescale Semiconductor, Inc. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License version 2 as | 5 | * it under the terms of the GNU General Public License version 2 as |
@@ -117,6 +117,7 @@ static void __init imx6sl_map_io(void) | |||
117 | { | 117 | { |
118 | debug_ll_io_init(); | 118 | debug_ll_io_init(); |
119 | imx6_pm_map_io(); | 119 | imx6_pm_map_io(); |
120 | imx6_busfreq_map_io(); | ||
120 | } | 121 | } |
121 | 122 | ||
122 | static void __init imx6sl_init_irq(void) | 123 | static void __init imx6sl_init_irq(void) |