[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121007041233.GM20231@S2101-09.ap.freescale.net>
Date: Sun, 7 Oct 2012 12:12:35 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel@...radead.org, arm@...nel.org,
linux-kernel@...r.kernel.org, Sascha Hauer <kernel@...gutronix.de>
Subject: Re: [PATCH 09/17] ARM: imx: select ARM_CPU_SUSPEND if necessary
Isn't the following the approach we agreed on?
http://thread.gmane.org/gmane.linux.ports.arm.kernel/183222/focus=1348538
Shawn
On Tue, Oct 02, 2012 at 06:36:48PM +0200, Arnd Bergmann wrote:
> As tests using 'make randconfig' showed, imx5 requires the same logic
> as imx6 to select ARM_CPU_SUSPEND when building with power management
> enabled.
>
> The defconfig does not have this problem because it enables imx6
> as well, but disabling it leads to this warning:
>
> arch/arm/mach-imx/built-in.o: In function `v7_cpu_resume':
> arch/arm/mach-imx/head-v7.S:104: undefined reference to `cpu_resume'
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Cc: Sascha Hauer <kernel@...gutronix.de>
> Cc: Shawn Guo <shawn.guo@...aro.org>
> ---
> arch/arm/mach-imx/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index afd542a..8e96573 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -89,6 +89,7 @@ config SOC_IMX5
> select ARCH_MXC_IOMUX_V3
> select ARCH_HAS_CPUFREQ
> select ARCH_MX5
> + select ARM_CPU_SUSPEND if PM
> bool
>
> config SOC_IMX50
> --
> 1.7.10
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists