aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/mach-goni.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2010-06-24 06:28:55 -0400
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 05:31:00 -0400
commitbbf7b358ecb07eebabd2721321e61f1250bfeea2 (patch)
treefb3a16f75fa83dcc30de59976a92b3853a048e49 /arch/arm/mach-s5pv210/mach-goni.c
parentdf01714aec2dc4f8fb265fb3378adbbc128d7549 (diff)
ARM: S5PV210: Fix GONI board UART FIFO mode configration
The GONI board uses max UART FIFO size to each UART channels. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-goni.c')
-rw-r--r--arch/arm/mach-s5pv210/mach-goni.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index 4863b13824e4..0cfb8dbd4e67 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -36,9 +36,7 @@
36 36
37#define S5PV210_ULCON_DEFAULT S3C2410_LCON_CS8 37#define S5PV210_ULCON_DEFAULT S3C2410_LCON_CS8
38 38
39#define S5PV210_UFCON_DEFAULT (S3C2410_UFCON_FIFOMODE | \ 39#define S5PV210_UFCON_DEFAULT S3C2410_UFCON_FIFOMODE
40 S5PV210_UFCON_TXTRIG4 | \
41 S5PV210_UFCON_RXTRIG4)
42 40
43static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = { 41static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = {
44 [0] = { 42 [0] = {
@@ -46,28 +44,32 @@ static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = {
46 .flags = 0, 44 .flags = 0,
47 .ucon = S5PV210_UCON_DEFAULT, 45 .ucon = S5PV210_UCON_DEFAULT,
48 .ulcon = S5PV210_ULCON_DEFAULT, 46 .ulcon = S5PV210_ULCON_DEFAULT,
49 .ufcon = S5PV210_UFCON_DEFAULT, 47 .ufcon = S5PV210_UFCON_DEFAULT |
48 S5PV210_UFCON_TXTRIG256 | S5PV210_UFCON_RXTRIG256,
50 }, 49 },
51 [1] = { 50 [1] = {
52 .hwport = 1, 51 .hwport = 1,
53 .flags = 0, 52 .flags = 0,
54 .ucon = S5PV210_UCON_DEFAULT, 53 .ucon = S5PV210_UCON_DEFAULT,
55 .ulcon = S5PV210_ULCON_DEFAULT, 54 .ulcon = S5PV210_ULCON_DEFAULT,
56 .ufcon = S5PV210_UFCON_DEFAULT, 55 .ufcon = S5PV210_UFCON_DEFAULT |
56 S5PV210_UFCON_TXTRIG64 | S5PV210_UFCON_RXTRIG64,
57 }, 57 },
58 [2] = { 58 [2] = {
59 .hwport = 2, 59 .hwport = 2,
60 .flags = 0, 60 .flags = 0,
61 .ucon = S5PV210_UCON_DEFAULT, 61 .ucon = S5PV210_UCON_DEFAULT,
62 .ulcon = S5PV210_ULCON_DEFAULT, 62 .ulcon = S5PV210_ULCON_DEFAULT,
63 .ufcon = S5PV210_UFCON_DEFAULT, 63 .ufcon = S5PV210_UFCON_DEFAULT |
64 S5PV210_UFCON_TXTRIG16 | S5PV210_UFCON_RXTRIG16,
64 }, 65 },
65 [3] = { 66 [3] = {
66 .hwport = 3, 67 .hwport = 3,
67 .flags = 0, 68 .flags = 0,
68 .ucon = S5PV210_UCON_DEFAULT, 69 .ucon = S5PV210_UCON_DEFAULT,
69 .ulcon = S5PV210_ULCON_DEFAULT, 70 .ulcon = S5PV210_ULCON_DEFAULT,
70 .ufcon = S5PV210_UFCON_DEFAULT, 71 .ufcon = S5PV210_UFCON_DEFAULT |
72 S5PV210_UFCON_TXTRIG16 | S5PV210_UFCON_RXTRIG16,
71 }, 73 },
72}; 74};
73 75