public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] spl: MMC U-Boot image load from raw partition
Date: Sat, 15 Nov 2014 21:27:20 +0100	[thread overview]
Message-ID: <20141115212720.4ae35619@lilith> (raw)
In-Reply-To: <1415916969.2372.10.camel@collins>

Hello Paul,

On Thu, 13 Nov 2014 23:16:09 +0100, Paul Kocialkowski
<contact@paulk.fr> wrote:
> Le jeudi 13 novembre 2014 ? 12:16 +0100, Albert ARIBAUD a ?crit :
> > Hello Tom,
> > 
> > On Mon, 10 Nov 2014 13:46:09 -0500, Tom Rini <trini@ti.com> wrote:
> > > On Sat, Nov 08, 2014 at 11:19:23PM +0100, Albert ARIBAUD wrote:
> > > > Hello Paul,
> > > > 
> > > > On Sat,  8 Nov 2014 23:14:54 +0100, Paul Kocialkowski
> > > > <contact@paulk.fr> wrote:
> > > > > This is a first attempt at adding support for U-Boot image load from raw
> > > > > partitions. It does not support OS boot as I cannot test it on my current
> > > > > setup.
> > > > > 
> > > > > This is going to be useful for the Optimus Black port (please do not consider
> > > > > this as dead code because no board is using it right now, there will be one
> > > > > soon)!
> > > > 
> > > > Well... Why don't you just post these two patches a little later, as
> > > > part of the upcoming series which will add support for the Optimus
> > > > Black?
> > > 
> > > So to me the "dead code" thing is starting to get a lot more ambiguous
> > > since with Kconfig we'll need need every single possible choice enabled
> > > in some defconfig, just some way to turn it on, on a possibly relevant
> > > board.  In this case, any OMAP3+ board would be a fine place to try this
> > > out, IFF it's done as a Kconfig choice.
> > 
> > Not sure I'm understanding you right, but it seems to me we're in sync:
> > as long as the code is enabled somewhere on some target, it is not dead
> > code. I'm precisely asking that the code here be submitted along with
> > the target that uses it. Or did I miss something?
> 
> Well I think it makes sense to not call this dead code as long as it
> *can be* enabled and used on another supported board (for that matter,
> any OMAP3+ board will indeed do).

If no board is calling this code right now, that is because none needs
it. If none needs it, then it has no reason to be added. The day some
board needs this code, the patch to add this code can be submitted
along with the patch that calls this code.

> This is very different from e.g. the regulator code that I submitted,
> which is only relevant for devices with that particular piece of
> hardware (so far, none supported by U-Boot). So it makes sense to submit
> that regulator patch only along with support for a board that uses it.

I don't see the difference.

> Paul Kocialkowski, Replicant developer
> 
> Replicant is a fully free Android distribution
> 
> Website: http://www.replicant.us/
> Blog: http://blog.replicant.us/
> Wiki/tracker/forums: http://redmine.replicant.us/

Amicalement,
-- 
Albert.

  reply	other threads:[~2014-11-15 20:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-08 22:14 [U-Boot] [PATCH 0/2] spl: MMC U-Boot image load from raw partition Paul Kocialkowski
2014-11-08 22:14 ` [U-Boot] [PATCH 1/2] MMC SD fs boot partition config coding style and proper description Paul Kocialkowski
2014-11-10 18:46   ` Tom Rini
2014-12-08 21:41   ` [U-Boot] [U-Boot, " Tom Rini
2014-11-08 22:14 ` [U-Boot] [PATCH 2/2] spl: MMC U-Boot image load from raw partition Paul Kocialkowski
2014-11-10 18:46   ` Tom Rini
2014-12-08 21:41   ` [U-Boot] [U-Boot, " Tom Rini
2014-11-08 22:19 ` [U-Boot] [PATCH 0/2] " Albert ARIBAUD
2014-11-08 22:23   ` Paul Kocialkowski
2014-11-09  0:12     ` Albert ARIBAUD
2014-11-10 18:46   ` Tom Rini
2014-11-13 11:16     ` Albert ARIBAUD
2014-11-13 22:16       ` Paul Kocialkowski
2014-11-15 20:27         ` Albert ARIBAUD [this message]
2014-11-18 13:52           ` Tom Rini
2014-11-18 20:34             ` Albert ARIBAUD

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=20141115212720.4ae35619@lilith \
    --to=albert.u.boot@aribaud.net \
    --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