Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
c06b4889
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c06b4889
编写于
3月 09, 2009
作者:
R
Russell King
提交者:
Russell King
3月 09, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'omap-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
上级
74fac66e
8ca7fe26
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
13 deletion
+12
-13
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3beagle.c
+3
-1
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/Makefile
+2
-1
arch/arm/plat-omap/common.c
arch/arm/plat-omap/common.c
+5
-9
arch/arm/plat-omap/include/mach/common.h
arch/arm/plat-omap/include/mach/common.h
+1
-1
arch/arm/plat-omap/include/mach/pm.h
arch/arm/plat-omap/include/mach/pm.h
+1
-1
未找到文件。
arch/arm/mach-omap2/board-omap3beagle.c
浏览文件 @
c06b4889
...
...
@@ -178,7 +178,9 @@ static int __init omap3_beagle_i2c_init(void)
#ifdef CONFIG_I2C2_OMAP_BEAGLE
omap_register_i2c_bus
(
2
,
400
,
NULL
,
0
);
#endif
omap_register_i2c_bus
(
3
,
400
,
NULL
,
0
);
/* Bus 3 is attached to the DVI port where devices like the pico DLP
* projector don't work reliably with 400kHz */
omap_register_i2c_bus
(
3
,
100
,
NULL
,
0
);
return
0
;
}
...
...
arch/arm/plat-omap/Makefile
浏览文件 @
c06b4889
...
...
@@ -18,7 +18,8 @@ obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
obj-$(CONFIG_OMAP_DM_TIMER)
+=
dmtimer.o
obj-$(CONFIG_OMAP_DEBUG_DEVICES)
+=
debug-devices.o
obj-$(CONFIG_OMAP_DEBUG_LEDS)
+=
debug-leds.o
obj-$(CONFIG_I2C_OMAP)
+=
i2c.o
i2c-omap-$(CONFIG_I2C_OMAP)
:=
i2c.o
obj-y
+=
$
(
i2c-omap-m
)
$
(
i2c-omap-y
)
# OMAP mailbox framework
obj-$(CONFIG_OMAP_MBOX_FWK)
+=
mailbox.o
...
...
arch/arm/plat-omap/common.c
浏览文件 @
c06b4889
...
...
@@ -199,21 +199,17 @@ static struct clocksource clocksource_32k = {
.
flags
=
CLOCK_SOURCE_IS_CONTINUOUS
,
};
/*
* Rounds down to nearest nsec.
*/
unsigned
long
long
omap_32k_ticks_to_nsecs
(
unsigned
long
ticks_32k
)
{
return
cyc2ns
(
&
clocksource_32k
,
ticks_32k
);
}
/*
* Returns current time from boot in nsecs. It's OK for this to wrap
* around for now, as it's just a relative time stamp.
*/
unsigned
long
long
sched_clock
(
void
)
{
return
omap_32k_ticks_to_nsecs
(
omap_32k_read
());
unsigned
long
long
ret
;
ret
=
(
unsigned
long
long
)
omap_32k_read
();
ret
=
(
ret
*
clocksource_32k
.
mult_orig
)
>>
clocksource_32k
.
shift
;
return
ret
;
}
static
int
__init
omap_init_clocksource_32k
(
void
)
...
...
arch/arm/plat-omap/include/mach/common.h
浏览文件 @
c06b4889
...
...
@@ -35,7 +35,7 @@ extern void omap_map_common_io(void);
extern
struct
sys_timer
omap_timer
;
extern
void
omap_serial_init
(
void
);
extern
void
omap_serial_enable_clocks
(
int
enable
);
#if
def CONFIG_I2C_OMAP
#if
defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE)
extern
int
omap_register_i2c_bus
(
int
bus_id
,
u32
clkrate
,
struct
i2c_board_info
const
*
info
,
unsigned
len
);
...
...
arch/arm/plat-omap/include/mach/pm.h
浏览文件 @
c06b4889
...
...
@@ -108,7 +108,7 @@
!defined(CONFIG_ARCH_OMAP15XX) && \
!defined(CONFIG_ARCH_OMAP16XX) && \
!defined(CONFIG_ARCH_OMAP24XX)
#
error
"Power management for this processor not implemented yet"
#
warning
"Power management for this processor not implemented yet"
#endif
#ifndef __ASSEMBLER__
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录