diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-03-13 17:05:37 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-30 10:43:51 +0200 |
commit | 14517564795a5cd22e2da3119037f9883383fae9 (patch) | |
tree | 3c0d182b371855866cfd09a5110adab26b6479a4 /arch/arm/mach-imx/common.h | |
parent | ARM: imx6: Allow GPC interrupts affinity to be changed (diff) | |
download | linux-14517564795a5cd22e2da3119037f9883383fae9.tar.xz linux-14517564795a5cd22e2da3119037f9883383fae9.zip |
ARM: imx6: Warn when an old DT is detected
Now that the GPC has been converted to be a full blown irqchip
(and not a mole on the side of the GIC), booting a new kernel
with an old DT is likely to result in a rough ride for the user.
This patch makes sure such a situation is promptly detected and
the user made aware that a DT update is in order.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
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, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 2fbdc283bc99..0f04e30b726d 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -66,6 +66,7 @@ unsigned int imx_get_soc_revision(void); void imx_init_revision_from_anatop(void); struct device *imx_soc_device_init(void); void imx6_enable_rbc(bool enable); +void imx_gpc_check_dt(void); void imx_gpc_set_arm_power_in_lpm(bool power_off); void imx_gpc_set_arm_power_up_timing(u32 sw2iso, u32 sw); void imx_gpc_set_arm_power_down_timing(u32 sw2iso, u32 sw); |