pxa2xx-cpufreq.c (cffc96eb4f91ba0f974b352a28b15f84950bd776) pxa2xx-cpufreq.c (7264a2bbb0a1d9935c653cb0e0cb48cfcaa87538)
1/*
2 * Copyright (C) 2002,2003 Intrinsyc Software
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 207 unchanged lines hidden (view full) ---

216 if (cpu_is_pxa25x()) {
217 if (!pxa255_turbo_table) {
218 *pxa_freqs = pxa255_run_freqs;
219 *freq_table = pxa255_run_freq_table;
220 } else {
221 *pxa_freqs = pxa255_turbo_freqs;
222 *freq_table = pxa255_turbo_freq_table;
223 }
1/*
2 * Copyright (C) 2002,2003 Intrinsyc Software
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 207 unchanged lines hidden (view full) ---

216 if (cpu_is_pxa25x()) {
217 if (!pxa255_turbo_table) {
218 *pxa_freqs = pxa255_run_freqs;
219 *freq_table = pxa255_run_freq_table;
220 } else {
221 *pxa_freqs = pxa255_turbo_freqs;
222 *freq_table = pxa255_turbo_freq_table;
223 }
224 }
225 if (cpu_is_pxa27x()) {
224 } else if (cpu_is_pxa27x()) {
226 *pxa_freqs = pxa27x_freqs;
227 *freq_table = pxa27x_freq_table;
225 *pxa_freqs = pxa27x_freqs;
226 *freq_table = pxa27x_freq_table;
227 } else {
228 BUG();
228 }
229}
230
231static void pxa27x_guess_max_freq(void)
232{
233 if (!pxa27x_maxfreq) {
234 pxa27x_maxfreq = 416000;
235 printk(KERN_INFO "PXA CPU 27x max frequency not defined "

--- 256 unchanged lines hidden ---
229 }
230}
231
232static void pxa27x_guess_max_freq(void)
233{
234 if (!pxa27x_maxfreq) {
235 pxa27x_maxfreq = 416000;
236 printk(KERN_INFO "PXA CPU 27x max frequency not defined "

--- 256 unchanged lines hidden ---