aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-11-19 17:10:48 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:48 +0000
commite8809834486be97ee99e5fbf5af718ead804780d (patch)
tree1c000720bd18e87b3e964fc2c9706b7d3ab5caed /arch
parentb0bcd39edf624df7c576fc4fb491607202c1b55c (diff)
gta01-uart-fifo-trigger-sooner.patch
Set the UART FIFO to trigger earlier on the GTA01 device to minimize UART overruns from the GSM. Signed-off-by: Mike Westerhof <mwester@dls.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c2410/mach-gta01.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index 86aa4afb6ff..e22381cb7bc 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -87,6 +87,8 @@ static struct map_desc gta01_iodesc[] __initdata = {
#define UCON S3C2410_UCON_DEFAULT
#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
#define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
+/* UFCON for the gta01 sets the FIFO trigger level at 4, not 8 */
+#define UFCON_GTA01_PORT0 S3C2410_UFCON_FIFOMODE
static struct s3c2410_uartcfg gta01_uartcfgs[] = {
[0] = {
@@ -94,7 +96,7 @@ static struct s3c2410_uartcfg gta01_uartcfgs[] = {
.flags = 0,
.ucon = UCON,
.ulcon = ULCON,
- .ufcon = UFCON,
+ .ufcon = UFCON_GTA01_PORT0,
},
[1] = {
.hwport = 1,