All of lore.kernel.org
 help / color / mirror / Atom feed
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 13:49:36 -0400	[thread overview]
Message-ID: <20140407174936.GJ23803@bill-the-cat> (raw)
In-Reply-To: <20140407174139.309D23804B4@gemini.denx.de>

On Mon, Apr 07, 2014 at 07:41:39PM +0200, Wolfgang Denk wrote:
> Dear Tom,
> 
> In message <20140407171943.GG23803@bill-the-cat> you wrote:
> > 
> > > What exactly do you mean by "non-SPL XIP booting"?  Is this not the
> > > standard boot mode which has actually been the first (and only one)
> > > that U-Boot has ever been designed for, like booting from a ROM (like
> > > parallel NOR flash)?  Because the we do exactly that: we execute the
> > > code as is from the boot device...
> >
> > Exactly.  But most modern platforms are not XIP booting by default, if
> > ever.  When it is, it's a special case and needs the code we usually
> > only call in SPL (say memory controller init) linked in.  Today this is
> > done with say:
> > #if defined(CONFIG_SPL_BUILD) || defined(CONFIG_NOR_BOOT)
> > ...
> > #endif
> > on am335x.  Looking at am43xx we have both traditional NOR and QSPI NOR
> > as boot options, along with SD/NAND/various-peripheral-boots.
> 
> OK.  So if this basically the same what we do when booting XIP from
> parallel NOR, then maybe we should rename CONFIG_NOR_BOOT into a more
> generic name, like CONFIG_XIP_BOOT ?

Nope, not everything for NOR is required for QSPI nor correct, so we'll
still need NOR/QSPI boot options (CONFIG_ENV_IS_IN.. then
size/location).

-- 
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/35c6ec3d/attachment.pgp>

  reply	other threads:[~2014-04-07 17:49 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
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 [this message]
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=20140407174936.GJ23803@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.