Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
b981f980
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
153
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b981f980
编写于
12月 07, 2011
作者:
O
Olof Johansson
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap
into fixes
上级
e3a36c41
6560ee07
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
7 deletion
+10
-7
arch/arm/configs/omap1_defconfig
arch/arm/configs/omap1_defconfig
+0
-5
arch/arm/mach-omap1/clock_data.c
arch/arm/mach-omap1/clock_data.c
+10
-2
未找到文件。
arch/arm/configs/omap1_defconfig
浏览文件 @
b981f980
...
...
@@ -48,12 +48,7 @@ CONFIG_MACH_SX1=y
CONFIG_MACH_NOKIA770=y
CONFIG_MACH_AMS_DELTA=y
CONFIG_MACH_OMAP_GENERIC=y
CONFIG_OMAP_ARM_216MHZ=y
CONFIG_OMAP_ARM_195MHZ=y
CONFIG_OMAP_ARM_192MHZ=y
CONFIG_OMAP_ARM_182MHZ=y
CONFIG_OMAP_ARM_168MHZ=y
# CONFIG_OMAP_ARM_60MHZ is not set
# CONFIG_ARM_THUMB is not set
CONFIG_PCCARD=y
CONFIG_OMAP_CF=y
...
...
arch/arm/mach-omap1/clock_data.c
浏览文件 @
b981f980
...
...
@@ -16,6 +16,8 @@
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/cpufreq.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <asm/mach-types.h>
/* for machine_is_* */
...
...
@@ -927,16 +929,22 @@ int __init omap1_clk_init(void)
void
__init
omap1_clk_late_init
(
void
)
{
if
(
ck_dpll1
.
rate
>=
OMAP1_DPLL1_SANE_VALUE
)
unsigned
long
rate
=
ck_dpll1
.
rate
;
if
(
rate
>=
OMAP1_DPLL1_SANE_VALUE
)
return
;
/* System booting at unusable rate, force reprogramming of DPLL1 */
ck_dpll1_p
->
rate
=
0
;
/* Find the highest supported frequency and enable it */
if
(
omap1_select_table_rate
(
&
virtual_ck_mpu
,
~
0
))
{
pr_err
(
"System frequencies not set, using default. Check your config.
\n
"
);
omap_writew
(
0x2290
,
DPLL_CTL
);
omap_writew
(
cpu_is_omap7xx
()
?
0x
3005
:
0x1
005
,
ARM_CKCTL
);
omap_writew
(
cpu_is_omap7xx
()
?
0x
2005
:
0x0
005
,
ARM_CKCTL
);
ck_dpll1
.
rate
=
OMAP1_DPLL1_SANE_VALUE
;
}
propagate_rate
(
&
ck_dpll1
);
omap1_show_rates
();
loops_per_jiffy
=
cpufreq_scale
(
loops_per_jiffy
,
rate
,
ck_dpll1
.
rate
);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录