Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
baa522c8
Commit
baa522c8
authored
May 29, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] cpufreq_init takes low and high frequency limits.
parent
cf89107c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
arch/arm/mach-integrator/cpu.c
arch/arm/mach-integrator/cpu.c
+2
-2
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/generic.c
+1
-4
No files found.
arch/arm/mach-integrator/cpu.c
View file @
baa522c8
...
...
@@ -3,7 +3,7 @@
*
* Copyright (C) 2001 Deep Blue Solutions Ltd.
*
* $Id: cpu.c,v 1.
2 2001/09/22 12:11:17
rmk Exp $
* $Id: cpu.c,v 1.
4 2002/05/29 11:41:55
rmk Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
...
...
@@ -121,7 +121,7 @@ static int __init cpu_init(void)
cpu_freq_khz
=
vco_to_freq
(
vco
,
1
);
#ifdef CONFIG_CPU_FREQ
cpufreq_init
(
cpu_freq_khz
);
cpufreq_init
(
cpu_freq_khz
,
1000
,
0
);
cpufreq_setfunctions
(
integrator_validatespeed
,
integrator_setspeed
);
#endif
...
...
arch/arm/mach-sa1100/generic.c
View file @
baa522c8
...
...
@@ -78,7 +78,7 @@ unsigned int sa11x0_validatespeed(unsigned int khz)
static
int
__init
sa11x0_init_clock
(
void
)
{
cpufreq_init
(
cclk_frequency_100khz
[
PPCR
&
0xf
]
*
100
);
cpufreq_init
(
cclk_frequency_100khz
[
PPCR
&
0xf
]
*
100
,
59000
,
287000
);
return
0
;
}
...
...
@@ -203,6 +203,3 @@ void __init sa1110_mb_enable(void)
local_irq_restore
(
flags
);
}
EXPORT_SYMBOL
(
sa1111_wake
);
EXPORT_SYMBOL
(
sa1111_doze
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment