public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Improper assumption of serial port
Date: Sun, 07 Apr 2013 17:42:53 +0200	[thread overview]
Message-ID: <516193FD.1000503@gmail.com> (raw)

U-boot on coreboot assumes that serial port is always available and
improperly interprets missing ones as stream of 0xff. What would be the
proper way to handle this? Is it acceptable to probe at it's address
whether we have a valid ns8250/ns16550 device (we can read back the
divisor and compare with what we have set) and dropping the serial if
none is available?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130407/66ea45e1/attachment.pgp>

             reply	other threads:[~2013-04-07 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 15:42 Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-04-15 23:57 ` [U-Boot] Improper assumption of serial port Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516193FD.1000503@gmail.com \
    --to=phcoder@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox