diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-04-24 10:05:29 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-05-03 14:01:01 -0400 |
commit | 231900afba52d6faddfb480cde4132d4edc089bc (patch) | |
tree | 276136e7a233a748e792bf29b49e3da0376fd60d /arch/arm/mach-omap2/board-rx51.c | |
parent | 102c25516700f540b2a97a71f9f44c385267f5ca (diff) |
ARM: OMAP3: cpuidle - remove rx51 cpuidle parameters table
As suggested, this table is an optimized version for rx51 and we
remove it in order to consolidate the cpuidle code between omap3
and omap4, we remove this specific data definition which is used
to override the default omap3 latencies but at the cost of extra
code and complexity.
In order to not lose the values which probably took time to be
measured, the table is converted into a comment with an array
description.
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/board-rx51.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 27f01f051dff..2da92a6ba40a 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -59,25 +59,24 @@ static struct platform_device leds_gpio = { | |||
59 | }; | 59 | }; |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * cpuidle C-states definition override from the default values. | 62 | * cpuidle C-states definition for rx51. |
63 | * The 'exit_latency' field is the sum of sleep and wake-up latencies. | 63 | * |
64 | */ | 64 | * The 'exit_latency' field is the sum of sleep |
65 | static struct cpuidle_params rx51_cpuidle_params[] = { | 65 | * and wake-up latencies. |
66 | /* C1 */ | 66 | |
67 | {110 + 162, 5 , 1}, | 67 | --------------------------------------------- |
68 | /* C2 */ | 68 | | state | exit_latency | target_residency | |
69 | {106 + 180, 309, 1}, | 69 | --------------------------------------------- |
70 | /* C3 */ | 70 | | C1 | 110 + 162 | 5 | |
71 | {107 + 410, 46057, 0}, | 71 | | C2 | 106 + 180 | 309 | |
72 | /* C4 */ | 72 | | C3 | 107 + 410 | 46057 | |
73 | {121 + 3374, 46057, 0}, | 73 | | C4 | 121 + 3374 | 46057 | |
74 | /* C5 */ | 74 | | C5 | 855 + 1146 | 46057 | |
75 | {855 + 1146, 46057, 1}, | 75 | | C6 | 7580 + 4134 | 484329 | |
76 | /* C6 */ | 76 | | C7 | 7505 + 15274 | 484329 | |
77 | {7580 + 4134, 484329, 0}, | 77 | --------------------------------------------- |
78 | /* C7 */ | 78 | |
79 | {7505 + 15274, 484329, 1}, | 79 | */ |
80 | }; | ||
81 | 80 | ||
82 | extern void __init rx51_peripherals_init(void); | 81 | extern void __init rx51_peripherals_init(void); |
83 | 82 | ||
@@ -98,7 +97,6 @@ static void __init rx51_init(void) | |||
98 | struct omap_sdrc_params *sdrc_params; | 97 | struct omap_sdrc_params *sdrc_params; |
99 | 98 | ||
100 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 99 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
101 | omap3_pm_init_cpuidle(rx51_cpuidle_params); | ||
102 | omap_serial_init(); | 100 | omap_serial_init(); |
103 | 101 | ||
104 | sdrc_params = nokia_get_sdram_timings(); | 102 | sdrc_params = nokia_get_sdram_timings(); |