[U-Boot] [PATCH v3] Added usbtty_configured() check. Fixed attribute(packed) warnings.

2009-02-03 Thread Atin Malaviya
were causing warnings from gcc. Signed-off-by: Atin Malaviya --- This makes the previous v2 patch in http://lists.denx.de/pipermail/u-boot/2009-February/046716.html obsolete. This patch is against the mainline u-boot next branch. drivers/serial/usbtty.c | 18 +++--- 1 files

[U-Boot] [PATCH v2] usbtty: Added usbtty_configured() checks. Fixed attribute(packed) warnings.

2009-02-03 Thread Atin Malaviya
: Atin Malaviya --- This makes the previous v1 patch in http://lists.denx.de/pipermail/u-boot/2009-February/046705.html obsolete. This patch is against the mainline u-boot next branch. drivers/serial/usbtty.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a

[U-Boot] [PATCH] usbtty: Added additional usbtty_configured() checks to get around hang when usb is not connected but multi-io is set up.

2009-02-03 Thread Atin Malaviya
This adds additional checks in usbtty_puts() and usbtty_putc() to get around a hang when usb is not connected but multi-io (setenv stdout serial,usbtty etc) is set up by the user. We hang because the buffers get full because usb isn't connected. --- drivers/serial/usbtty.c |9 - 1 fi