ARM: tegra12x: Add FC programming for enter_sleep
Prashant Malani [Thu, 28 Mar 2013 23:34:12 +0000 (16:34 -0700)]
Add config to include flow controller programming
to enter_sleep routine.

Bug 1271462

Change-Id: Ie6e56766eedf64435f00dc594be20babc576eca0
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/241911
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/sleep-t30.S

index e74f232..5f99010 100644 (file)
@@ -1120,7 +1120,8 @@ tegra3_enter_sleep:
        orr     r0, r0, #FLOW_CTRL_CSR_ENABLE
        str     r0, [r6, r2]
 
-#if defined(CONFIG_ARCH_TEGRA_11x_SOC) || defined(CONFIG_ARCH_TEGRA_14x_SOC)
+#if defined(CONFIG_ARCH_TEGRA_11x_SOC) || defined(CONFIG_ARCH_TEGRA_14x_SOC) \
+       || defined(CONFIG_ARCH_TEGRA_12x_SOC)
        tst     r0, #FLOW_CTRL_IMMEDIATE_WAKE
        movne   r0, #FLOW_CTRL_WAITEVENT
        moveq   r0, #FLOW_CTRL_WAIT_FOR_INTERRUPT