aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2016-08-29 09:49:57 -0400
committerShawn Guo <shawnguo@kernel.org>2016-08-29 10:39:27 -0400
commit6ae44aa651d0d82097cb5379be94e86beade9c7b (patch)
treeff68da5891bbc5779908004ef2a01b4180791adc /arch/arm/mach-imx
parent8765caa5cb6054247832947119ea533b5d410d2b (diff)
ARM: imx: enable WAIT mode hardware workaround for imx6sx
Need to enable INT_MEM_CLK_LPM bit in CCM_CGPR for WAIT mode, without this bit set, if there is pending interrupt during ARM platform entering WAIT mode without power gating, cache data will be corrupted, this is a hardware workaround for WAIT mode and must be enabled. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/cpuidle-imx6sx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpuidle-imx6sx.c b/arch/arm/mach-imx/cpuidle-imx6sx.c
index 3c6672b3796b..261aaa45ff33 100644
--- a/arch/arm/mach-imx/cpuidle-imx6sx.c
+++ b/arch/arm/mach-imx/cpuidle-imx6sx.c
@@ -90,6 +90,7 @@ static struct cpuidle_driver imx6sx_cpuidle_driver = {
90 90
91int __init imx6sx_cpuidle_init(void) 91int __init imx6sx_cpuidle_init(void)
92{ 92{
93 imx6_set_int_mem_clk_lpm(true);
93 imx6_enable_rbc(false); 94 imx6_enable_rbc(false);
94 /* 95 /*
95 * set ARM power up/down timing to the fastest, 96 * set ARM power up/down timing to the fastest,