diff options
author | Tony Lindgren <tony@atomide.com> | 2005-11-10 09:26:48 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-10 09:26:48 -0500 |
commit | 3179a019391f0f8081245fd564a5f1be308ba64f (patch) | |
tree | afdc1200f17b0ca97e04baa7c2cc2d4d2883e0c9 /arch/arm/mach-omap1/io.c | |
parent | a7918f39bbe59fe76f43743bdb6bb8b0bdefd94a (diff) |
[ARM] 3141/1: OMAP 1/5: Update omap1 specific files
Patch from Tony Lindgren
This patch syncs the mainline kernel with linux-omap tree.
The highlights of the patch are:
- Omap1 serial pport and framebuffer init updates by Imre Deak
- Add support for omap310 processor and Palm Tungsten E PDA
by Laurent Gonzales, Romain Goyet, et al. Omap310 and
omap1510 processors are now handled as omap15xx.
- Omap1 specific changes to shared omap clock framework
by Tony Lindgren
- Omap1 specific changes to shared omap pin mux framework
by Tony Lindgren
- Other misc fixes, such as update memory timings for smc91x,
omap1 specific device initialization etc.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/io.c')
-rw-r--r-- | arch/arm/mach-omap1/io.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/io.c b/arch/arm/mach-omap1/io.c index 79fb86535ebc..a7a19f75b9e1 100644 --- a/arch/arm/mach-omap1/io.c +++ b/arch/arm/mach-omap1/io.c | |||
@@ -15,9 +15,10 @@ | |||
15 | 15 | ||
16 | #include <asm/mach/map.h> | 16 | #include <asm/mach/map.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | #include <asm/arch/mux.h> | ||
18 | #include <asm/arch/tc.h> | 19 | #include <asm/arch/tc.h> |
19 | 20 | ||
20 | extern int clk_init(void); | 21 | extern int omap1_clk_init(void); |
21 | extern void omap_check_revision(void); | 22 | extern void omap_check_revision(void); |
22 | extern void omap_sram_init(void); | 23 | extern void omap_sram_init(void); |
23 | 24 | ||
@@ -50,7 +51,7 @@ static struct map_desc omap730_io_desc[] __initdata = { | |||
50 | }; | 51 | }; |
51 | #endif | 52 | #endif |
52 | 53 | ||
53 | #ifdef CONFIG_ARCH_OMAP1510 | 54 | #ifdef CONFIG_ARCH_OMAP15XX |
54 | static struct map_desc omap1510_io_desc[] __initdata = { | 55 | static struct map_desc omap1510_io_desc[] __initdata = { |
55 | { | 56 | { |
56 | .virtual = OMAP1510_DSP_BASE, | 57 | .virtual = OMAP1510_DSP_BASE, |
@@ -98,7 +99,7 @@ static void __init _omap_map_io(void) | |||
98 | iotable_init(omap730_io_desc, ARRAY_SIZE(omap730_io_desc)); | 99 | iotable_init(omap730_io_desc, ARRAY_SIZE(omap730_io_desc)); |
99 | } | 100 | } |
100 | #endif | 101 | #endif |
101 | #ifdef CONFIG_ARCH_OMAP1510 | 102 | #ifdef CONFIG_ARCH_OMAP15XX |
102 | if (cpu_is_omap1510()) { | 103 | if (cpu_is_omap1510()) { |
103 | iotable_init(omap1510_io_desc, ARRAY_SIZE(omap1510_io_desc)); | 104 | iotable_init(omap1510_io_desc, ARRAY_SIZE(omap1510_io_desc)); |
104 | } | 105 | } |
@@ -119,7 +120,7 @@ static void __init _omap_map_io(void) | |||
119 | 120 | ||
120 | /* Must init clocks early to assure that timer interrupt works | 121 | /* Must init clocks early to assure that timer interrupt works |
121 | */ | 122 | */ |
122 | clk_init(); | 123 | omap1_clk_init(); |
123 | } | 124 | } |
124 | 125 | ||
125 | /* | 126 | /* |
@@ -127,7 +128,9 @@ static void __init _omap_map_io(void) | |||
127 | */ | 128 | */ |
128 | void __init omap_map_common_io(void) | 129 | void __init omap_map_common_io(void) |
129 | { | 130 | { |
130 | if (!initialized) | 131 | if (!initialized) { |
131 | _omap_map_io(); | 132 | _omap_map_io(); |
133 | omap1_mux_init(); | ||
134 | } | ||
132 | } | 135 | } |
133 | 136 | ||