diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-04-24 16:05:24 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-05-03 11:00:40 -0700 |
commit | 4e0a64fa74abc7b33b68ed4f14e03e8e6d44c0d6 (patch) | |
tree | c4a6bd37a820e9f81496f3d15fca324a2b9f5bee /arch/arm/mach-omap2/cpuidle44xx.c | |
parent | 78e9016fa466833e0a7a40f7642cd374994b2841 (diff) | |
download | talos-op-linux-4e0a64fa74abc7b33b68ed4f14e03e8e6d44c0d6.tar.gz talos-op-linux-4e0a64fa74abc7b33b68ed4f14e03e8e6d44c0d6.zip |
ARM: OMAP4: cpuidle - Remove the cpuidle_params_table table
We do not longer need this table as we defined the values
in the driver states.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/cpuidle44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/cpuidle44xx.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c index 7072c9e63a8f..522ec23790cd 100644 --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -31,16 +31,7 @@ struct omap4_idle_statedata { u32 mpu_state; }; -static struct cpuidle_params cpuidle_params_table[] = { - /* C1 - CPU0 ON + CPU1 ON + MPU ON */ - {.exit_latency = 2 + 2 , .target_residency = 5 }, - /* C2- CPU0 OFF + CPU1 OFF + MPU CSWR */ - {.exit_latency = 328 + 440 , .target_residency = 960 }, - /* C3 - CPU0 OFF + CPU1 OFF + MPU OSWR */ - {.exit_latency = 460 + 518 , .target_residency = 1100 }, -}; - -#define OMAP4_NUM_STATES ARRAY_SIZE(cpuidle_params_table) +#define OMAP4_NUM_STATES 3 struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES]; static struct powerdomain *mpu_pd, *cpu0_pd, *cpu1_pd; |