On Wednesday, September 21, 2011 08:21:35 Michal Simek wrote:
> Marek Vasut wrote:
> > On Tuesday, September 20, 2011 09:19:23 AM Michal Simek wrote:
> >> Michal Simek wrote:
> >>> Add support for SERIAL MULTI for uartlite.
> >> 
> >> Any comment?
> > 
> > Avoid endless loops
> 
> No problem to do it for putc but for getc?
> What would you like to return if there is no character available?

getc() is allowed to loop forever.  pretty much most drivers also wait forever 
with putc().  i dont think serial drivers really matter as if the hardware 
breaks, u-boot itself isn't terribly useful anymore.  just make sure flow 
control doesn't bite you (CTS/RTS).
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to