Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
c5aa0ad0
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看板
提交
c5aa0ad0
编写于
5月 25, 2009
作者:
S
Sascha Hauer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
mxc: turn to soc specific init_irq functions
Signed-off-by:
N
Sascha Hauer
<
s.hauer@pengutronix.de
>
上级
12308dfe
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
53 addition
and
21 deletion
+53
-21
arch/arm/mach-mx1/generic.c
arch/arm/mach-mx1/generic.c
+6
-0
arch/arm/mach-mx1/mx1ads.c
arch/arm/mach-mx1/mx1ads.c
+2
-2
arch/arm/mach-mx1/scb9328.c
arch/arm/mach-mx1/scb9328.c
+1
-1
arch/arm/mach-mx2/generic.c
arch/arm/mach-mx2/generic.c
+10
-0
arch/arm/mach-mx2/mx21ads.c
arch/arm/mach-mx2/mx21ads.c
+1
-1
arch/arm/mach-mx2/mx27ads.c
arch/arm/mach-mx2/mx27ads.c
+1
-1
arch/arm/mach-mx2/mx27lite.c
arch/arm/mach-mx2/mx27lite.c
+1
-1
arch/arm/mach-mx2/mx27pdk.c
arch/arm/mach-mx2/mx27pdk.c
+1
-1
arch/arm/mach-mx2/pcm038.c
arch/arm/mach-mx2/pcm038.c
+1
-1
arch/arm/mach-mx3/armadillo5x0.c
arch/arm/mach-mx3/armadillo5x0.c
+1
-1
arch/arm/mach-mx3/mm.c
arch/arm/mach-mx3/mm.c
+10
-0
arch/arm/mach-mx3/mx31ads.c
arch/arm/mach-mx3/mx31ads.c
+1
-1
arch/arm/mach-mx3/mx31lilly.c
arch/arm/mach-mx3/mx31lilly.c
+1
-1
arch/arm/mach-mx3/mx31lite.c
arch/arm/mach-mx3/mx31lite.c
+1
-1
arch/arm/mach-mx3/mx31moboard.c
arch/arm/mach-mx3/mx31moboard.c
+2
-1
arch/arm/mach-mx3/mx31pdk.c
arch/arm/mach-mx3/mx31pdk.c
+1
-1
arch/arm/mach-mx3/mx35pdk.c
arch/arm/mach-mx3/mx35pdk.c
+1
-1
arch/arm/mach-mx3/pcm037.c
arch/arm/mach-mx3/pcm037.c
+1
-1
arch/arm/mach-mx3/pcm043.c
arch/arm/mach-mx3/pcm043.c
+1
-1
arch/arm/mach-mx3/qong.c
arch/arm/mach-mx3/qong.c
+1
-1
arch/arm/plat-mxc/include/mach/common.h
arch/arm/plat-mxc/include/mach/common.h
+6
-1
arch/arm/plat-mxc/irq.c
arch/arm/plat-mxc/irq.c
+2
-2
未找到文件。
arch/arm/mach-mx1/generic.c
浏览文件 @
c5aa0ad0
...
...
@@ -45,3 +45,9 @@ void __init mx1_map_io(void)
iotable_init
(
imx_io_desc
,
ARRAY_SIZE
(
imx_io_desc
));
}
void
__init
mx1_init_irq
(
void
)
{
mxc_init_irq
(
IO_ADDRESS
(
AVIC_BASE_ADDR
));
}
arch/arm/mach-mx1/mx1ads.c
浏览文件 @
c5aa0ad0
...
...
@@ -151,7 +151,7 @@ MACHINE_START(MX1ADS, "Freescale MX1ADS")
.
io_pg_offst
=
(
IMX_IO_BASE
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx1_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
1
_init_irq
,
.
timer
=
&
mx1ads_timer
,
.
init_machine
=
mx1ads_init
,
MACHINE_END
...
...
@@ -161,7 +161,7 @@ MACHINE_START(MXLADS, "Freescale MXLADS")
.
io_pg_offst
=
(
IMX_IO_BASE
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx1_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
1
_init_irq
,
.
timer
=
&
mx1ads_timer
,
.
init_machine
=
mx1ads_init
,
MACHINE_END
arch/arm/mach-mx1/scb9328.c
浏览文件 @
c5aa0ad0
...
...
@@ -154,7 +154,7 @@ MACHINE_START(SCB9328, "Synertronixx scb9328")
.
io_pg_offst
=
((
0xe0200000
)
>>
18
)
&
0xfffc
,
.
boot_params
=
0x08000100
,
.
map_io
=
mx1_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
1
_init_irq
,
.
timer
=
&
scb9328_timer
,
.
init_machine
=
scb9328_init
,
MACHINE_END
arch/arm/mach-mx2/generic.c
浏览文件 @
c5aa0ad0
...
...
@@ -85,3 +85,13 @@ void __init mx27_map_io(void)
iotable_init
(
mxc_io_desc
,
ARRAY_SIZE
(
mxc_io_desc
));
}
void
__init
mx27_init_irq
(
void
)
{
mxc_init_irq
(
IO_ADDRESS
(
AVIC_BASE_ADDR
));
}
void
__init
mx21_init_irq
(
void
)
{
mx27_init_irq
();
}
arch/arm/mach-mx2/mx21ads.c
浏览文件 @
c5aa0ad0
...
...
@@ -280,7 +280,7 @@ MACHINE_START(MX21ADS, "Freescale i.MX21ADS")
.
io_pg_offst
=
((
AIPI_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx21ads_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
21
_init_irq
,
.
init_machine
=
mx21ads_board_init
,
.
timer
=
&
mx21ads_timer
,
MACHINE_END
arch/arm/mach-mx2/mx27ads.c
浏览文件 @
c5aa0ad0
...
...
@@ -330,7 +330,7 @@ MACHINE_START(MX27ADS, "Freescale i.MX27ADS")
.
io_pg_offst
=
((
AIPI_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx27ads_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
27
_init_irq
,
.
init_machine
=
mx27ads_board_init
,
.
timer
=
&
mx27ads_timer
,
MACHINE_END
...
...
arch/arm/mach-mx2/mx27lite.c
浏览文件 @
c5aa0ad0
...
...
@@ -89,7 +89,7 @@ MACHINE_START(IMX27LITE, "LogicPD i.MX27LITE")
.
io_pg_offst
=
((
AIPI_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx27_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
27
_init_irq
,
.
init_machine
=
mx27lite_init
,
.
timer
=
&
mx27lite_timer
,
MACHINE_END
arch/arm/mach-mx2/mx27pdk.c
浏览文件 @
c5aa0ad0
...
...
@@ -89,7 +89,7 @@ MACHINE_START(MX27_3DS, "Freescale MX27PDK")
.
io_pg_offst
=
((
AIPI_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx27_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
27
_init_irq
,
.
init_machine
=
mx27pdk_init
,
.
timer
=
&
mx27pdk_timer
,
MACHINE_END
arch/arm/mach-mx2/pcm038.c
浏览文件 @
c5aa0ad0
...
...
@@ -241,7 +241,7 @@ MACHINE_START(PCM038, "phyCORE-i.MX27")
.
io_pg_offst
=
((
AIPI_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx27_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
27
_init_irq
,
.
init_machine
=
pcm038_init
,
.
timer
=
&
pcm038_timer
,
MACHINE_END
arch/arm/mach-mx3/armadillo5x0.c
浏览文件 @
c5aa0ad0
...
...
@@ -352,7 +352,7 @@ MACHINE_START(ARMADILLO5X0, "Armadillo-500")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x00000100
,
.
map_io
=
mx31_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
timer
=
&
armadillo5x0_timer
,
.
init_machine
=
armadillo5x0_init
,
MACHINE_END
arch/arm/mach-mx3/mm.c
浏览文件 @
c5aa0ad0
...
...
@@ -88,6 +88,16 @@ void __init mx35_map_io(void)
iotable_init
(
mxc_io_desc
,
ARRAY_SIZE
(
mxc_io_desc
));
}
void
__init
mx31_init_irq
(
void
)
{
mxc_init_irq
(
IO_ADDRESS
(
AVIC_BASE_ADDR
));
}
void
__init
mx35_init_irq
(
void
)
{
mx31_init_irq
();
}
#ifdef CONFIG_CACHE_L2X0
static
int
mxc_init_l2x0
(
void
)
{
...
...
arch/arm/mach-mx3/mx31ads.c
浏览文件 @
c5aa0ad0
...
...
@@ -517,7 +517,7 @@ static void __init mx31ads_map_io(void)
static
void
__init
mx31ads_init_irq
(
void
)
{
mx
c
_init_irq
();
mx
31
_init_irq
();
mx31ads_init_expio
();
}
...
...
arch/arm/mach-mx3/mx31lilly.c
浏览文件 @
c5aa0ad0
...
...
@@ -148,7 +148,7 @@ MACHINE_START(LILLY1131, "INCO startec LILLY-1131")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx31_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
init_machine
=
mx31lilly_board_init
,
.
timer
=
&
mx31lilly_timer
,
MACHINE_END
...
...
arch/arm/mach-mx3/mx31lite.c
浏览文件 @
c5aa0ad0
...
...
@@ -162,7 +162,7 @@ MACHINE_START(MX31LITE, "LogicPD MX31 LITEKIT")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx31lite_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
mx31lite_timer
,
MACHINE_END
arch/arm/mach-mx3/mx31moboard.c
浏览文件 @
c5aa0ad0
...
...
@@ -36,6 +36,7 @@
#include <mach/iomux-mx3.h>
#include <mach/i2c.h>
#include <mach/mmc.h>
#include <mach/mx31.h>
#include "devices.h"
...
...
@@ -197,7 +198,7 @@ MACHINE_START(MX31MOBOARD, "EPFL Mobots mx31moboard")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx31_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
mx31moboard_timer
,
MACHINE_END
...
...
arch/arm/mach-mx3/mx31pdk.c
浏览文件 @
c5aa0ad0
...
...
@@ -265,7 +265,7 @@ MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx31pdk_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
mx31pdk_timer
,
MACHINE_END
arch/arm/mach-mx3/mx35pdk.c
浏览文件 @
c5aa0ad0
...
...
@@ -98,7 +98,7 @@ MACHINE_START(MX35_3DS, "Freescale MX35PDK")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx35_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
35
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
mx35pdk_timer
,
MACHINE_END
arch/arm/mach-mx3/pcm037.c
浏览文件 @
c5aa0ad0
...
...
@@ -592,7 +592,7 @@ MACHINE_START(PCM037, "Phytec Phycore pcm037")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx31_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
pcm037_timer
,
MACHINE_END
arch/arm/mach-mx3/pcm043.c
浏览文件 @
c5aa0ad0
...
...
@@ -245,7 +245,7 @@ MACHINE_START(PCM043, "Phytec Phycore pcm043")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx35_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
35
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
pcm043_timer
,
MACHINE_END
...
...
arch/arm/mach-mx3/qong.c
浏览文件 @
c5aa0ad0
...
...
@@ -280,7 +280,7 @@ MACHINE_START(QONG, "Dave/DENX QongEVB-LITE")
.
io_pg_offst
=
((
AIPS1_BASE_ADDR_VIRT
)
>>
18
)
&
0xfffc
,
.
boot_params
=
PHYS_OFFSET
+
0x100
,
.
map_io
=
mx31_map_io
,
.
init_irq
=
mx
c
_init_irq
,
.
init_irq
=
mx
31
_init_irq
,
.
init_machine
=
mxc_board_init
,
.
timer
=
&
qong_timer
,
MACHINE_END
arch/arm/plat-mxc/include/mach/common.h
浏览文件 @
c5aa0ad0
...
...
@@ -19,7 +19,12 @@ extern void mx21_map_io(void);
extern
void
mx27_map_io
(
void
);
extern
void
mx31_map_io
(
void
);
extern
void
mx35_map_io
(
void
);
extern
void
mxc_init_irq
(
void
);
extern
void
mxc_init_irq
(
void
__iomem
*
);
extern
void
mx1_init_irq
(
void
);
extern
void
mx21_init_irq
(
void
);
extern
void
mx27_init_irq
(
void
);
extern
void
mx31_init_irq
(
void
);
extern
void
mx35_init_irq
(
void
);
extern
void
mxc_timer_init
(
struct
clk
*
timer_clk
,
void
__iomem
*
,
int
);
extern
int
mx1_clocks_init
(
unsigned
long
fref
);
extern
int
mx21_clocks_init
(
unsigned
long
lref
,
unsigned
long
fref
);
...
...
arch/arm/plat-mxc/irq.c
浏览文件 @
c5aa0ad0
...
...
@@ -113,11 +113,11 @@ static struct irq_chip mxc_avic_chip = {
* interrupts. It registers the interrupt enable and disable functions
* to the kernel for each interrupt source.
*/
void
__init
mxc_init_irq
(
void
)
void
__init
mxc_init_irq
(
void
__iomem
*
irqbase
)
{
int
i
;
avic_base
=
IO_ADDRESS
(
AVIC_BASE_ADDR
)
;
avic_base
=
irqbase
;
/* put the AVIC into the reset value with
* all interrupts disabled
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录