From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?
Date: Mon, 7 Apr 2014 12:45:51 -0400 [thread overview]
Message-ID: <20140407164551.GF23803@bill-the-cat> (raw)
In-Reply-To: <E1WXCSU-0006m6-Gh@janus>
On Mon, Apr 07, 2014 at 06:31:41PM +0200, Albert ARIBAUD wrote:
> Hi Tom,
>
> On Wed, 5 Mar 2014 12:28:06 -0500, Tom Rini <trini@ti.com> wrote:
>
> > Hey all,
> >
> > I'm looking over some patches for am43xx to enable the case of non-SPL
> > XIP booting and this means we start getting code that's shared with
> > am335x that looks like:
> > #if defined(CONFIG_SPL_BUILD) || defined(CONFIG_NOR_BOOT) || \
> > defined(CONFIG_QSPI_BOOT)
> > ...
> > #endif
> >
> > Because we need to do certain init either in SPL or early U-Boot. While
> > I don't see another XIP boot case being added anytime soon, it would be
> > nice to instead write:
> > #if defined(CONFIG_SPL_BUILD) || defined(CONFIG_SYS_XIP_BOOT)
> > or whatever makes the most sense for a name. Thoughts on the name?
> > Thanks!
>
> Or maybe name the config option not after the boot mode but after what
> it actually does, and then in the board config, enable this option if
> the boot mode wants it?
Right. But what to call the option?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140407/85a0ea36/attachment.pgp>
next prev parent reply other threads:[~2014-04-07 16:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 17:28 [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice? Tom Rini
2014-04-07 16:31 ` Albert ARIBAUD
2014-04-07 16:45 ` Tom Rini [this message]
2014-04-07 17:05 ` Wolfgang Denk
2014-04-07 17:19 ` Tom Rini
2014-04-07 17:41 ` Wolfgang Denk
2014-04-07 17:49 ` Tom Rini
2014-04-07 18:45 ` Wolfgang Denk
2014-04-07 19:02 ` Tom Rini
2014-04-07 19:19 ` Wolfgang Denk
2014-04-07 19:57 ` Tom Rini
2014-04-08 13:02 ` Wolfgang Denk
2014-04-08 18:00 ` Tom Rini
2014-04-08 18:35 ` Albert ARIBAUD
2014-04-08 19:44 ` 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=20140407164551.GF23803@bill-the-cat \
--to=trini@ti.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;
as well as URLs for NNTP newsgroup(s).