u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?
@ 2014-03-05 17:28 Tom Rini
  2014-04-07 16:31 ` Albert ARIBAUD
  2014-04-07 17:05 ` Wolfgang Denk
  0 siblings, 2 replies; 15+ messages in thread
From: Tom Rini @ 2014-03-05 17:28 UTC (permalink / raw)
  To: u-boot

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!

-- 
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/20140305/8ffb8c9f/attachment.pgp>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-04-08 19:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).