diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-07-05 04:02:58 -0400 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-07-05 04:02:58 -0400 |
commit | 604cbadce2292d979749e2f5c6c3f75ee10f4c9e (patch) | |
tree | 33eb35487bb466fc945401099c3a8324ebbe8b66 /drivers/serial/imx.c | |
parent | fc80a5e3d0480d416e4f53b0680aaf525b5076d8 (diff) |
MX2 add support for mx2 in i.MX serial driver
add support for mx2 in i.MX serial driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial/imx.c')
-rw-r--r-- | drivers/serial/imx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 549440b098b2..64acb39a51ba 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #define UBIR 0xa4 /* BRM Incremental Register */ | 62 | #define UBIR 0xa4 /* BRM Incremental Register */ |
63 | #define UBMR 0xa8 /* BRM Modulator Register */ | 63 | #define UBMR 0xa8 /* BRM Modulator Register */ |
64 | #define UBRC 0xac /* Baud Rate Count Register */ | 64 | #define UBRC 0xac /* Baud Rate Count Register */ |
65 | #ifdef CONFIG_ARCH_MX3 | 65 | #if defined CONFIG_ARCH_MX3 || defined CONFIG_ARCH_MX2 |
66 | #define ONEMS 0xb0 /* One Millisecond register */ | 66 | #define ONEMS 0xb0 /* One Millisecond register */ |
67 | #define UTS 0xb4 /* UART Test Register */ | 67 | #define UTS 0xb4 /* UART Test Register */ |
68 | #endif | 68 | #endif |
@@ -99,7 +99,7 @@ | |||
99 | #ifdef CONFIG_ARCH_IMX | 99 | #ifdef CONFIG_ARCH_IMX |
100 | #define UCR1_UARTCLKEN (1<<2) /* UART clock enabled */ | 100 | #define UCR1_UARTCLKEN (1<<2) /* UART clock enabled */ |
101 | #endif | 101 | #endif |
102 | #ifdef CONFIG_ARCH_MX3 | 102 | #if defined CONFIG_ARCH_MX3 || defined CONFIG_ARCH_MX2 |
103 | #define UCR1_UARTCLKEN (0) /* not present on mx2/mx3 */ | 103 | #define UCR1_UARTCLKEN (0) /* not present on mx2/mx3 */ |
104 | #endif | 104 | #endif |
105 | #define UCR1_DOZE (1<<1) /* Doze */ | 105 | #define UCR1_DOZE (1<<1) /* Doze */ |
@@ -182,7 +182,7 @@ | |||
182 | #define MAX_INTERNAL_IRQ IMX_IRQS | 182 | #define MAX_INTERNAL_IRQ IMX_IRQS |
183 | #endif | 183 | #endif |
184 | 184 | ||
185 | #ifdef CONFIG_ARCH_MX3 | 185 | #if defined CONFIG_ARCH_MX3 || defined CONFIG_ARCH_MX2 |
186 | #define SERIAL_IMX_MAJOR 207 | 186 | #define SERIAL_IMX_MAJOR 207 |
187 | #define MINOR_START 16 | 187 | #define MINOR_START 16 |
188 | #define DEV_NAME "ttymxc" | 188 | #define DEV_NAME "ttymxc" |