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
nexedi
linux
Commits
c5aa0ad0
Commit
c5aa0ad0
authored
May 25, 2009
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxc: turn to soc specific init_irq functions
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
12308dfe
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
53 additions
and
21 deletions
+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
No files found.
arch/arm/mach-mx1/generic.c
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
...
...
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