diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-07-20 20:19:51 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-05 05:30:21 -0400 |
commit | c8def0857f93413db795ce3586bcc3c3eaae7088 (patch) | |
tree | c1fce262d95ea73924f97379e035f080de680493 /arch/arm/mach-s5pv210/mach-smdkv210.c | |
parent | 02a0456b3b6ad7503a37fab6f00a27d2bd53d483 (diff) |
ARM: S5P: Changes the definition name of default UART registers
This patch changes the definition name of default UCON, ULCON, and
UFCON UART registers from ARCH(SoC) to Machine(Board). Because it
depends on machine.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-smdkv210.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index 0d4627948040..d1df1882ab18 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -29,16 +29,16 @@ | |||
29 | #include <plat/ts.h> | 29 | #include <plat/ts.h> |
30 | 30 | ||
31 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 31 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
32 | #define S5PV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 32 | #define SMDKV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
33 | S3C2410_UCON_RXILEVEL | \ | 33 | S3C2410_UCON_RXILEVEL | \ |
34 | S3C2410_UCON_TXIRQMODE | \ | 34 | S3C2410_UCON_TXIRQMODE | \ |
35 | S3C2410_UCON_RXIRQMODE | \ | 35 | S3C2410_UCON_RXIRQMODE | \ |
36 | S3C2410_UCON_RXFIFO_TOI | \ | 36 | S3C2410_UCON_RXFIFO_TOI | \ |
37 | S3C2443_UCON_RXERR_IRQEN) | 37 | S3C2443_UCON_RXERR_IRQEN) |
38 | 38 | ||
39 | #define S5PV210_ULCON_DEFAULT S3C2410_LCON_CS8 | 39 | #define SMDKV210_ULCON_DEFAULT S3C2410_LCON_CS8 |
40 | 40 | ||
41 | #define S5PV210_UFCON_DEFAULT (S3C2410_UFCON_FIFOMODE | \ | 41 | #define SMDKV210_UFCON_DEFAULT (S3C2410_UFCON_FIFOMODE | \ |
42 | S5PV210_UFCON_TXTRIG4 | \ | 42 | S5PV210_UFCON_TXTRIG4 | \ |
43 | S5PV210_UFCON_RXTRIG4) | 43 | S5PV210_UFCON_RXTRIG4) |
44 | 44 | ||
@@ -46,30 +46,30 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = { | |||
46 | [0] = { | 46 | [0] = { |
47 | .hwport = 0, | 47 | .hwport = 0, |
48 | .flags = 0, | 48 | .flags = 0, |
49 | .ucon = S5PV210_UCON_DEFAULT, | 49 | .ucon = SMDKV210_UCON_DEFAULT, |
50 | .ulcon = S5PV210_ULCON_DEFAULT, | 50 | .ulcon = SMDKV210_ULCON_DEFAULT, |
51 | .ufcon = S5PV210_UFCON_DEFAULT, | 51 | .ufcon = SMDKV210_UFCON_DEFAULT, |
52 | }, | 52 | }, |
53 | [1] = { | 53 | [1] = { |
54 | .hwport = 1, | 54 | .hwport = 1, |
55 | .flags = 0, | 55 | .flags = 0, |
56 | .ucon = S5PV210_UCON_DEFAULT, | 56 | .ucon = SMDKV210_UCON_DEFAULT, |
57 | .ulcon = S5PV210_ULCON_DEFAULT, | 57 | .ulcon = SMDKV210_ULCON_DEFAULT, |
58 | .ufcon = S5PV210_UFCON_DEFAULT, | 58 | .ufcon = SMDKV210_UFCON_DEFAULT, |
59 | }, | 59 | }, |
60 | [2] = { | 60 | [2] = { |
61 | .hwport = 2, | 61 | .hwport = 2, |
62 | .flags = 0, | 62 | .flags = 0, |
63 | .ucon = S5PV210_UCON_DEFAULT, | 63 | .ucon = SMDKV210_UCON_DEFAULT, |
64 | .ulcon = S5PV210_ULCON_DEFAULT, | 64 | .ulcon = SMDKV210_ULCON_DEFAULT, |
65 | .ufcon = S5PV210_UFCON_DEFAULT, | 65 | .ufcon = SMDKV210_UFCON_DEFAULT, |
66 | }, | 66 | }, |
67 | [3] = { | 67 | [3] = { |
68 | .hwport = 3, | 68 | .hwport = 3, |
69 | .flags = 0, | 69 | .flags = 0, |
70 | .ucon = S5PV210_UCON_DEFAULT, | 70 | .ucon = SMDKV210_UCON_DEFAULT, |
71 | .ulcon = S5PV210_ULCON_DEFAULT, | 71 | .ulcon = SMDKV210_ULCON_DEFAULT, |
72 | .ufcon = S5PV210_UFCON_DEFAULT, | 72 | .ufcon = SMDKV210_UFCON_DEFAULT, |
73 | }, | 73 | }, |
74 | }; | 74 | }; |
75 | 75 | ||