Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
e9d69010
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
e9d69010
编写于
2月 28, 2012
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'randconfig' into fixes-non-critical
上级
d82ba995
c295fb63
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
49 addition
and
32 deletion
+49
-32
arch/arm/Makefile
arch/arm/Makefile
+1
-3
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/Kconfig
+36
-19
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/Makefile
+1
-4
arch/arm/mach-omap2/board-zoom-display.c
arch/arm/mach-omap2/board-zoom-display.c
+4
-0
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/devices.c
+4
-3
arch/arm/mach-omap2/mux.h
arch/arm/mach-omap2/mux.h
+1
-1
arch/arm/mach-omap2/smartreflex.c
arch/arm/mach-omap2/smartreflex.c
+1
-1
arch/arm/plat-omap/dma.c
arch/arm/plat-omap/dma.c
+1
-1
未找到文件。
arch/arm/Makefile
浏览文件 @
e9d69010
...
...
@@ -164,9 +164,7 @@ machine-$(CONFIG_ARCH_MXS) := mxs
machine-$(CONFIG_ARCH_NETX)
:=
netx
machine-$(CONFIG_ARCH_NOMADIK)
:=
nomadik
machine-$(CONFIG_ARCH_OMAP1)
:=
omap1
machine-$(CONFIG_ARCH_OMAP2)
:=
omap2
machine-$(CONFIG_ARCH_OMAP3)
:=
omap2
machine-$(CONFIG_ARCH_OMAP4)
:=
omap2
machine-$(CONFIG_ARCH_OMAP2PLUS)
:=
omap2
machine-$(CONFIG_ARCH_ORION5X)
:=
orion5x
machine-$(CONFIG_ARCH_PICOXCELL)
:=
picoxcell
machine-$(CONFIG_ARCH_PNX4008)
:=
pnx4008
...
...
arch/arm/mach-omap2/Kconfig
浏览文件 @
e9d69010
...
...
@@ -21,27 +21,21 @@ config ARCH_OMAP2PLUS_TYPICAL
Compile a kernel suitable for booting most boards
config ARCH_OMAP2
bool "TI OMAP2"
depends on ARCH_OMAP2PLUS
default y
bool
select CPU_V6
select MULTI_IRQ_HANDLER
config ARCH_OMAP3
bool "TI OMAP3"
depends on ARCH_OMAP2PLUS
default y
bool
select CPU_V7
select USB_ARCH_HAS_EHCI
select USB_ARCH_HAS_EHCI
if USB_SUPPORT
select ARCH_HAS_OPP
select PM_OPP if PM
select ARM_CPU_SUSPEND if PM
select MULTI_IRQ_HANDLER
config ARCH_OMAP4
bool "TI OMAP4"
default y
depends on ARCH_OMAP2PLUS
bool
select CACHE_L2X0
select CPU_V7
select ARM_GIC
...
...
@@ -52,40 +46,62 @@ config ARCH_OMAP4
select ARM_ERRATA_720789
select ARCH_HAS_OPP
select PM_OPP if PM
select USB_ARCH_HAS_EHCI
select USB_ARCH_HAS_EHCI
if USB_SUPPORT
select ARM_CPU_SUSPEND if PM
comment "OMAP Core Type"
depends on ARCH_OMAP2
config SOC_OMAP
bool
config SOC_OMAP2420
bool "OMAP2420 support"
depends on ARCH_OMAP2
default y
select SOC_OMAP
select ARCH_OMAP2
select OMAP_DM_TIMER
select ARCH_OMAP_OTG
config SOC_OMAP2430
bool "OMAP2430 support"
depends on ARCH_OMAP2
default y
select SOC_OMAP
select ARCH_OMAP2
select ARCH_OMAP_OTG
config SOC_OMAP3430
bool "OMAP3430 support"
depends on ARCH_OMAP3
default y
select SOC_OMAP
select ARCH_OMAP3
select ARCH_OMAP_OTG
config SOC_OMAPTI81XX
bool "TI81XX support"
depends on ARCH_OMAP3
default y
select SOC_OMAP
select ARCH_OMAP3
config SOC_OMAPAM33XX
bool "AM33XX support"
depends on ARCH_OMAP3
default y
select SOC_OMAP
select ARCH_OMAP3
config SOC_OMAP44XX
bool "OMAP44XX support"
default y
select SOC_OMAP
select ARCH_OMAP4
config SOC_OMAP_NOOP
bool
depends on !SOC_OMAP
default y
select ARCH_OMAP2
select ARCH_OMAP3
select ARCH_OMAP4
select MACH_OMAP_GENERIC
config OMAP_PACKAGE_ZAF
bool
...
...
@@ -112,17 +128,17 @@ config OMAP_PACKAGE_CBS
bool
comment "OMAP Board Type"
depends on ARCH_OMAP2PLUS
config MACH_OMAP_GENERIC
bool "Generic OMAP2+ board"
depends on ARCH_OMAP2PLUS
select USE_OF
default y
help
Support for generic TI OMAP2+ boards using Flattened Device Tree.
More information at Documentation/devicetree
if SOC_OMAP
config MACH_OMAP2_TUSB6010
bool
depends on ARCH_OMAP2 && SOC_OMAP2420
...
...
@@ -343,6 +359,7 @@ config MACH_OMAP4_PANDA
select OMAP_PACKAGE_CBS
select REGULATOR_FIXED_VOLTAGE if REGULATOR
endif
config OMAP3_EMU
bool "OMAP3 debugging peripherals"
depends on ARCH_OMAP3
...
...
arch/arm/mach-omap2/Makefile
浏览文件 @
e9d69010
...
...
@@ -4,7 +4,7 @@
# Common support
obj-y
:=
id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o
\
common.o gpio.o dma.o wd_timer.o display.o
common.o gpio.o dma.o wd_timer.o display.o
i2c.o
omap-2-3-common
=
irq.o sdrc.o
hwmod-common
=
omap_hwmod.o
\
...
...
@@ -182,9 +182,6 @@ obj-$(CONFIG_OMAP_IOMMU) += iommu2.o
iommu-$(CONFIG_OMAP_IOMMU)
:=
omap-iommu.o
obj-y
+=
$
(
iommu-m
)
$
(
iommu-y
)
i2c-omap-$(CONFIG_I2C_OMAP)
:=
i2c.o
obj-y
+=
$
(
i2c-omap-m
)
$
(
i2c-omap-y
)
ifneq
($(CONFIG_TIDSPBRIDGE),)
obj-y
+=
dsp.o
endif
...
...
arch/arm/mach-omap2/board-zoom-display.c
浏览文件 @
e9d69010
...
...
@@ -55,6 +55,7 @@ static void zoom_panel_disable_lcd(struct omap_dss_device *dssdev)
static
int
zoom_set_bl_intensity
(
struct
omap_dss_device
*
dssdev
,
int
level
)
{
#ifdef CONFIG_TWL4030_CORE
unsigned
char
c
;
u8
mux_pwm
,
enb_pwm
;
...
...
@@ -90,6 +91,9 @@ static int zoom_set_bl_intensity(struct omap_dss_device *dssdev, int level)
c
=
((
50
*
(
100
-
level
))
/
100
)
+
1
;
twl_i2c_write_u8
(
TWL4030_MODULE_PWM1
,
0x7F
,
TWL_LED_PWMOFF
);
twl_i2c_write_u8
(
TWL4030_MODULE_PWM1
,
c
,
TWL_LED_PWMON
);
#else
pr_warn
(
"Backlight not enabled
\n
"
);
#endif
return
0
;
}
...
...
arch/arm/mach-omap2/devices.c
浏览文件 @
e9d69010
...
...
@@ -654,9 +654,7 @@ void __init omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data)
/*-------------------------------------------------------------------------*/
#if defined(CONFIG_HDQ_MASTER_OMAP) || defined(CONFIG_HDQ_MASTER_OMAP_MODULE)
#if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_SOC_OMAP3430)
#define OMAP_HDQ_BASE 0x480B2000
#endif
static
struct
resource
omap_hdq_resources
[]
=
{
{
.
start
=
OMAP_HDQ_BASE
,
...
...
@@ -679,7 +677,10 @@ static struct platform_device omap_hdq_dev = {
};
static
inline
void
omap_hdq_init
(
void
)
{
(
void
)
platform_device_register
(
&
omap_hdq_dev
);
if
(
cpu_is_omap2420
())
return
;
platform_device_register
(
&
omap_hdq_dev
);
}
#else
static
inline
void
omap_hdq_init
(
void
)
{}
...
...
arch/arm/mach-omap2/mux.h
浏览文件 @
e9d69010
...
...
@@ -246,7 +246,7 @@ static inline void omap_hwmod_mux(struct omap_hwmod_mux_info *hmux, u8 state)
{
}
static
struct
omap_board_mux
*
board_mux
__
initdata
__
maybe_unused
;
static
struct
omap_board_mux
*
board_mux
__maybe_unused
;
#endif
...
...
arch/arm/mach-omap2/smartreflex.c
浏览文件 @
e9d69010
...
...
@@ -1012,7 +1012,7 @@ static int __devexit omap_sr_remove(struct platform_device *pdev)
}
static
struct
platform_driver
smartreflex_driver
=
{
.
remove
=
omap_sr_remove
,
.
remove
=
__devexit_p
(
omap_sr_remove
)
,
.
driver
=
{
.
name
=
"smartreflex"
,
},
...
...
arch/arm/plat-omap/dma.c
浏览文件 @
e9d69010
...
...
@@ -2125,7 +2125,7 @@ static int __devexit omap_system_dma_remove(struct platform_device *pdev)
static
struct
platform_driver
omap_system_dma_driver
=
{
.
probe
=
omap_system_dma_probe
,
.
remove
=
omap_system_dma_remove
,
.
remove
=
__devexit_p
(
omap_system_dma_remove
)
,
.
driver
=
{
.
name
=
"omap_dma_system"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录