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/board-h2.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/board-h2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h2.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index 4ee6bd8a50b8..a07e2c9307fa 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -40,8 +40,6 @@ | |||
40 | 40 | ||
41 | extern int omap_gpio_init(void); | 41 | extern int omap_gpio_init(void); |
42 | 42 | ||
43 | static int __initdata h2_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1}; | ||
44 | |||
45 | static struct mtd_partition h2_partitions[] = { | 43 | static struct mtd_partition h2_partitions[] = { |
46 | /* bootloader (U-Boot, etc) in first sector */ | 44 | /* bootloader (U-Boot, etc) in first sector */ |
47 | { | 45 | { |
@@ -160,9 +158,20 @@ static struct omap_mmc_config h2_mmc_config __initdata = { | |||
160 | }, | 158 | }, |
161 | }; | 159 | }; |
162 | 160 | ||
161 | static struct omap_uart_config h2_uart_config __initdata = { | ||
162 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
163 | }; | ||
164 | |||
165 | static struct omap_lcd_config h2_lcd_config __initdata = { | ||
166 | .panel_name = "h2", | ||
167 | .ctrl_name = "internal", | ||
168 | }; | ||
169 | |||
163 | static struct omap_board_config_kernel h2_config[] = { | 170 | static struct omap_board_config_kernel h2_config[] = { |
164 | { OMAP_TAG_USB, &h2_usb_config }, | 171 | { OMAP_TAG_USB, &h2_usb_config }, |
165 | { OMAP_TAG_MMC, &h2_mmc_config }, | 172 | { OMAP_TAG_MMC, &h2_mmc_config }, |
173 | { OMAP_TAG_UART, &h2_uart_config }, | ||
174 | { OMAP_TAG_LCD, &h2_lcd_config }, | ||
166 | }; | 175 | }; |
167 | 176 | ||
168 | static void __init h2_init(void) | 177 | static void __init h2_init(void) |
@@ -180,12 +189,12 @@ static void __init h2_init(void) | |||
180 | platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices)); | 189 | platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices)); |
181 | omap_board_config = h2_config; | 190 | omap_board_config = h2_config; |
182 | omap_board_config_size = ARRAY_SIZE(h2_config); | 191 | omap_board_config_size = ARRAY_SIZE(h2_config); |
192 | omap_serial_init(); | ||
183 | } | 193 | } |
184 | 194 | ||
185 | static void __init h2_map_io(void) | 195 | static void __init h2_map_io(void) |
186 | { | 196 | { |
187 | omap_map_common_io(); | 197 | omap_map_common_io(); |
188 | omap_serial_init(h2_serial_ports); | ||
189 | } | 198 | } |
190 | 199 | ||
191 | MACHINE_START(OMAP_H2, "TI-H2") | 200 | MACHINE_START(OMAP_H2, "TI-H2") |