diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-02-23 12:45:18 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-30 04:42:15 -0400 |
commit | b923ff6af0d5a806a3996dac6d4393cd9792d0f4 (patch) | |
tree | 718baca43f2ea435c221175ea6d098cf5a9b37f8 /arch/arm/mach-imx/common.h | |
parent | fc26d5f29b0d056699e8921bcb1a0ec709122596 (diff) |
ARM: imx6: convert GPC to stacked domains
IMX6 has been (ab)using the gic_arch_extn to provide
wakeup from suspend, and it makes a lot of sense to convert
this code to use stacked domains instead.
This patch does just this, updating the DT files to actually
reflect what the HW provides.
BIG FAT WARNING: because the DTs were so far lying by not
exposing the fact that the GPC block is actually the first
interrupt controller in the chain, kernels with this patch
applied wont have any suspend-resume facility when booted
with old DTs, and old kernels with updated DTs won't even boot.
Tested-by: Stefan Agner <stefan@agner.ch>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r-- | arch/arm/mach-imx/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 771ecfe96c14..2fbdc283bc99 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h | |||
@@ -101,7 +101,6 @@ static inline void imx_scu_map_io(void) {} | |||
101 | static inline void imx_smp_prepare(void) {} | 101 | static inline void imx_smp_prepare(void) {} |
102 | #endif | 102 | #endif |
103 | void imx_src_init(void); | 103 | void imx_src_init(void); |
104 | void imx_gpc_init(void); | ||
105 | void imx_gpc_pre_suspend(bool arm_power_off); | 104 | void imx_gpc_pre_suspend(bool arm_power_off); |
106 | void imx_gpc_post_resume(void); | 105 | void imx_gpc_post_resume(void); |
107 | void imx_gpc_mask_all(void); | 106 | void imx_gpc_mask_all(void); |