changeset 342:cac491d76066

Can't ignore BAUD rate commands - RedBoot needs them.
author gthomas
date Fri, 20 Sep 2002 22:04:12 +0000
parents 8192eb337aaa
children fbfd52cf7976
files packages/hal/arm/sa11x0/ipaq/current/ChangeLog packages/hal/arm/sa11x0/ipaq/current/src/lcd_support.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/arm/sa11x0/ipaq/current/ChangeLog
+++ b/packages/hal/arm/sa11x0/ipaq/current/ChangeLog
@@ -1,5 +1,8 @@
 2002-09-20  Gary Thomas  <gthomas@ecoscentric.com>
 
+	* src/lcd_support.c (lcd_comm_control): Need to ingore BAUD commands
+	since they may confuse RedBoot.
+
 	* include/ipaq.h: Define "LinkUP Systems" PCMCIA controller.  Used
 	on Compaq dual PCMCIA sleeve.
 
--- a/packages/hal/arm/sa11x0/ipaq/current/src/lcd_support.c
+++ b/packages/hal/arm/sa11x0/ipaq/current/src/lcd_support.c
@@ -9,6 +9,7 @@
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2002 Gary Thomas
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
@@ -1157,6 +1158,8 @@ lcd_comm_control(void *__ch_data, __comm
 	break;
     }
     case __COMMCTL_FLUSH_OUTPUT:
+    case __COMMCTL_GETBAUD:
+    case __COMMCTL_SETBAUD:
         ret = 0;
 	break;
     default: