diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-02-03 23:01:38 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-10 06:24:21 -0500 |
commit | 17198f2d681d34b3376f3a55b2837e56062c2439 (patch) | |
tree | 9d9f87f3bf08c530ef18251e04a50ec16d6633ea /arch/arm/mach-w90x900/mach-w90p910evb.c | |
parent | b74788d8c118a48585ad5342560e0aea6ed0ccd4 (diff) |
[ARM] 5374/1: The w90p910 uart0 driver patch
Add W90P910 UART0 support,the W90P910 UART0 is 8250 series.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/mach-w90p910evb.c')
-rw-r--r-- | arch/arm/mach-w90x900/mach-w90p910evb.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c index 9ebc93f48530..542527019b65 100644 --- a/arch/arm/mach-w90x900/mach-w90p910evb.c +++ b/arch/arm/mach-w90x900/mach-w90p910evb.c | |||
@@ -36,24 +36,16 @@ | |||
36 | static struct map_desc w90p910_iodesc[] __initdata = { | 36 | static struct map_desc w90p910_iodesc[] __initdata = { |
37 | }; | 37 | }; |
38 | 38 | ||
39 | static struct w90x900_uartcfg w90p910_uartcfgs[] = { | ||
40 | W90X900_UARTCFG(0, 0, 0, 0, 0), | ||
41 | W90X900_UARTCFG(1, 0, 0, 0, 0), | ||
42 | W90X900_UARTCFG(2, 0, 0, 0, 0), | ||
43 | W90X900_UARTCFG(3, 0, 0, 0, 0), | ||
44 | W90X900_UARTCFG(4, 0, 0, 0, 0), | ||
45 | }; | ||
46 | |||
47 | /*Here should be your evb resourse,such as LCD*/ | 39 | /*Here should be your evb resourse,such as LCD*/ |
48 | 40 | ||
49 | static struct platform_device *w90p910evb_dev[] __initdata = { | 41 | static struct platform_device *w90p910evb_dev[] __initdata = { |
42 | &w90p910_serial_device, | ||
50 | }; | 43 | }; |
51 | 44 | ||
52 | static void __init w90p910evb_map_io(void) | 45 | static void __init w90p910evb_map_io(void) |
53 | { | 46 | { |
54 | w90p910_map_io(w90p910_iodesc, ARRAY_SIZE(w90p910_iodesc)); | 47 | w90p910_map_io(w90p910_iodesc, ARRAY_SIZE(w90p910_iodesc)); |
55 | w90p910_init_clocks(0); | 48 | w90p910_init_clocks(0); |
56 | w90p910_init_uarts(w90p910_uartcfgs, ARRAY_SIZE(w90p910_uartcfgs)); | ||
57 | } | 49 | } |
58 | 50 | ||
59 | static void __init w90p910evb_init(void) | 51 | static void __init w90p910evb_init(void) |