diff options
Diffstat (limited to 'drivers/video/acornfb.c')
-rw-r--r-- | drivers/video/acornfb.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/video/acornfb.c b/drivers/video/acornfb.c index 61a8bf159cb0..eedb8285e32f 100644 --- a/drivers/video/acornfb.c +++ b/drivers/video/acornfb.c | |||
@@ -138,17 +138,6 @@ static struct pixclock arc_clocks[] = { | |||
138 | { 41250, 42083, VIDC_CTRL_DIV1, VID_CTL_24MHz }, /* 24.000MHz */ | 138 | { 41250, 42083, VIDC_CTRL_DIV1, VID_CTL_24MHz }, /* 24.000MHz */ |
139 | }; | 139 | }; |
140 | 140 | ||
141 | #ifdef CONFIG_ARCH_A5K | ||
142 | static struct pixclock a5k_clocks[] = { | ||
143 | { 117974, 120357, VIDC_CTRL_DIV3, VID_CTL_25MHz }, /* 8.392MHz */ | ||
144 | { 78649, 80238, VIDC_CTRL_DIV2, VID_CTL_25MHz }, /* 12.588MHz */ | ||
145 | { 58987, 60178, VIDC_CTRL_DIV1_5, VID_CTL_25MHz }, /* 16.588MHz */ | ||
146 | { 55000, 56111, VIDC_CTRL_DIV2, VID_CTL_36MHz }, /* 18.000MHz */ | ||
147 | { 39325, 40119, VIDC_CTRL_DIV1, VID_CTL_25MHz }, /* 25.175MHz */ | ||
148 | { 27500, 28055, VIDC_CTRL_DIV1, VID_CTL_36MHz }, /* 36.000MHz */ | ||
149 | }; | ||
150 | #endif | ||
151 | |||
152 | static struct pixclock * | 141 | static struct pixclock * |
153 | acornfb_valid_pixrate(struct fb_var_screeninfo *var) | 142 | acornfb_valid_pixrate(struct fb_var_screeninfo *var) |
154 | { | 143 | { |
@@ -163,15 +152,6 @@ acornfb_valid_pixrate(struct fb_var_screeninfo *var) | |||
163 | pixclock < arc_clocks[i].max_clock) | 152 | pixclock < arc_clocks[i].max_clock) |
164 | return arc_clocks + i; | 153 | return arc_clocks + i; |
165 | 154 | ||
166 | #ifdef CONFIG_ARCH_A5K | ||
167 | if (machine_is_a5k()) { | ||
168 | for (i = 0; i < ARRAY_SIZE(a5k_clocks); i++) | ||
169 | if (pixclock > a5k_clocks[i].min_clock && | ||
170 | pixclock < a5k_clocks[i].max_clock) | ||
171 | return a5k_clocks + i; | ||
172 | } | ||
173 | #endif | ||
174 | |||
175 | return NULL; | 155 | return NULL; |
176 | } | 156 | } |
177 | 157 | ||