public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.
Date: Tue, 20 Mar 2012 18:42:39 -0600	[thread overview]
Message-ID: <4F6923FF.7090508@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ0jYpHSNG354=f4mDVJ0TT5-6jDCxpEG1Y70v5dwbYxkQ@mail.gmail.com>

On 03/20/2012 05:33 PM, Simon Glass wrote:
...
> We cannot select the UART via CONFIG - remember that all of these
> boards have the same U-Boot binary. Please read that again :-) The
> device tree is the only thing that distinguishes them. All of the
> CONFIG options are identical for all boards.

I don't agree that all the boards have the same U-Boot binary. At
present, there are about 6 Tegra boards in mainline U-Boot all with
different binaries.

Even with DT, I don't see anything wrong with having the low-level init
code parameterized and built per board (e.g. debug UART), but all the
higher level devices initialized/configured from device tree (e.g. I2C,
MMC, USB).

Even if the binary result from the boot process is identical, but we did
something like I proposed a few emails back to inject the correct UART
ID into an initially common binary, you still get left with different
binaries per board, in terms of what you're actually flashing onto the
board.

(yes, I'd be interested in seeing the SPL code you mentioned)

  parent reply	other threads:[~2012-03-21  0:42 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 19:57 [U-Boot] [PATCH] tegra: Specify debugging serial port at boot Stephen Warren
2012-03-20 20:13 ` Simon Glass
2012-03-20 21:17   ` Stephen Warren
2012-03-20 23:28     ` Graeme Russ
2012-03-20 23:33       ` Simon Glass
2012-03-20 23:52         ` Graeme Russ
2012-03-21  0:02           ` Simon Glass
2012-03-21  0:17             ` Graeme Russ
2012-03-21  0:19               ` Simon Glass
2012-03-21  0:39                 ` Graeme Russ
2012-03-21  1:18                   ` Simon Glass
2012-03-21  1:46                     ` Graeme Russ
2012-03-21  0:42         ` Stephen Warren [this message]
2012-03-21  1:54           ` Simon Glass
2012-03-21  9:38         ` Wolfgang Denk
2012-03-21 10:35           ` Graeme Russ
2012-03-21 16:49             ` Stephen Warren
2012-03-21 16:59               ` Simon Glass
2012-03-21 17:09                 ` Stephen Warren
2012-03-21 17:13                   ` Simon Glass
2012-03-21 17:38                     ` Stephen Warren
2012-03-21 17:50                       ` Simon Glass
2012-03-21 18:25                         ` Stephen Warren
2012-03-21 23:00                           ` Wolfgang Denk
2012-03-21 22:56                 ` Wolfgang Denk
2012-03-21 23:01                   ` Simon Glass
2012-03-21 23:07                     ` Wolfgang Denk
2012-03-21 23:16                       ` Simon Glass
2012-03-22 13:25                         ` Wolfgang Denk
2012-03-22 15:17                           ` Simon Glass
2012-03-22 23:00                             ` Wolfgang Denk
2012-03-22 23:03                               ` Simon Glass
2012-03-22 23:07                                 ` Wolfgang Denk
2012-03-22 23:41                                 ` Graeme Russ
2012-03-23 15:08                                   ` Simon Glass
2012-03-22 15:40               ` Doug Anderson
2012-03-21 16:29           ` Stephen Warren
2012-03-21 22:52             ` Wolfgang Denk
2012-03-20 23:29     ` Simon Glass
2012-03-21  9:19     ` Wolfgang Denk

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=4F6923FF.7090508@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --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