public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] Serial support extended up to 6 COMs
Date: Tue, 23 Mar 2010 11:01:37 +0100	[thread overview]
Message-ID: <m2vdcnqrum.fsf@ohwell.denx.de> (raw)
In-Reply-To: <1269267840-15285-1-git-send-email-michael.zaidman@gmail.com> (Michael Zaidman's message of "Mon, 22 Mar 2010 16:24:00 +0200")

Hi Michael,

> Added support for extra ns16550 chip extending total number of
> supported COMs up to 6. This targets the cases when due to the
> insufficient number of UART ports on the CPU chip designers are
> forced to put additional ns16550 chip on board.

Additionally to Wolfgangs comments, let me make a few observations here.
In a different project I also thought on how to implement functionality
compared to what you try to achieve and in the end I got the impression
that this is a very good chance to introduce a real device model into
U-Boot.  We have been thinking about this for a long time[1] but nobody
came around hacking on it yet.  If you check the BOF page, you can see
that this will also open up a way to do a dynamic driver configuration,
e.g. by device tree.  This is one direction we really need to cover
somehow - sooner or later.

What do you think - do you want to go the extra distance?

For a transitional time, I think we can also live with two serial driver
implementatinos - after all, we have 5 "mpsc.c" files in the tree
currently, so every chance for a cleanup is welcome :)

Cheers
  Detlev

[1] http://www.denx.de/wiki/view/U-Boot/OLSUbootBOF

-- 
["From 2.4 to 2.6 to 2.7" discussing release numbering of the Linux kernel]
Let the bike-shed-painting begin.
                                     -- Linus Torvalds 
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

      parent reply	other threads:[~2010-03-23 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 14:24 [U-Boot] [PATCH 1/2] Serial support extended up to 6 COMs Michael Zaidman
2010-03-22 20:04 ` Wolfgang Denk
2010-03-23  8:08   ` Michael Zaidman
2010-03-23 15:04     ` Wolfgang Denk
2010-03-23 16:33       ` Michael Zaidman
2010-03-23 10:01 ` Detlev Zundel [this message]

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=m2vdcnqrum.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --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